[MPlayer-cvslog] CVS: main/Gui/mplayer/gtk about.c,1.22,1.23

Reimar Döffinger CVS syncmail at mplayerhq.hu
Sun Dec 4 16:56:42 CET 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/Gui/mplayer/gtk
In directory mail:/var2/tmp/cvs-serv31608/mplayer/gtk

Modified Files:
	about.c 
Log Message:
About text should _not_ be editable, it just looks stupid.


Index: about.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/gtk/about.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- about.c	17 Aug 2005 18:41:15 -0000	1.22
+++ about.c	4 Dec 2005 15:56:40 -0000	1.23
@@ -74,10 +74,13 @@
 
 #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 );




More information about the MPlayer-cvslog mailing list