[Mplayer-cvslog] CVS: main/Gui/mplayer widgets.c,1.38,1.39

Alex Beregszaszi alex at mplayerhq.hu
Sat Aug 31 16:27:55 CEST 2002


Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mail:/var/tmp.root/cvs-serv15989

Modified Files:
	widgets.c 
Log Message:
enable linewrapping

Index: widgets.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/widgets.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- widgets.c	14 Aug 2002 12:17:04 -0000	1.38
+++ widgets.c	31 Aug 2002 14:27:41 -0000	1.39
@@ -127,6 +127,12 @@
  if ( !gtkInited ) return;
  ShowMessageBox( str );
  gtk_label_set_text( GTK_LABEL( gtkMessageBoxText ),str );
+ /* enable linewrapping by alex */
+// GTK_LABEL(gtkMessageBoxText)->max_width = 80;
+ if (strlen(str) > 80)
+    gtk_label_set_line_wrap(GTK_LABEL(gtkMessageBoxText), TRUE);
+ else
+    gtk_label_set_line_wrap(GTK_LABEL(gtkMessageBoxText), FALSE);
  switch( type)
   {
     case GTK_MB_FATAL:




More information about the MPlayer-cvslog mailing list