1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-28 10:33:20 +00:00

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
This commit is contained in:
reimar 2005-12-04 15:56:40 +00:00
parent c1293cb313
commit 31469b3b69

View File

@ -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 );