From 31469b3b69e05851b6ed8e81dfb548028c48d885 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 4 Dec 2005 15:56:40 +0000 Subject: About text should _not_ be editable, it just looks stupid. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17087 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/mplayer/gtk/about.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Gui/mplayer/gtk/about.c b/Gui/mplayer/gtk/about.c index 859050d6e8..973880b0a8 100644 --- a/Gui/mplayer/gtk/about.c +++ b/Gui/mplayer/gtk/about.c @@ -74,10 +74,13 @@ GtkWidget * create_About( void ) #ifdef HAVE_GTK2_GUI AboutText = gtk_text_view_new(); + gtk_text_view_set_editable(GTK_TEXT_VIEW(AboutText), FALSE); + gtk_text_view_set_cursor_visible(GTK_TEXT_VIEW(AboutText), FALSE); AboutTextBuffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (AboutText)); gtk_text_buffer_get_iter_at_offset (AboutTextBuffer, &iter, 0); #else AboutText=gtk_text_new( NULL,NULL ); + gtk_text_set_editable(GTK_TEXT(AboutText), FALSE); #endif gtk_widget_set_name( AboutText,"AboutText" ); gtk_widget_show( AboutText ); -- cgit v1.2.3