diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-04 15:56:40 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-04 15:56:40 +0000 |
commit | 31469b3b69e05851b6ed8e81dfb548028c48d885 (patch) | |
tree | 81d680cccdebffbaf3f7b054a35765a478513fa7 /Gui | |
parent | c1293cb31350cd56cb7b47204b2f9be899f53408 (diff) | |
download | mpv-31469b3b69e05851b6ed8e81dfb548028c48d885.tar.bz2 mpv-31469b3b69e05851b6ed8e81dfb548028c48d885.tar.xz |
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
Diffstat (limited to 'Gui')
-rw-r--r-- | Gui/mplayer/gtk/about.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 ); |