enable linewrapping

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7199 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex committed 2002-08-31 14:27:41 +00:00
1 parent e9105a9b64
commit 5e4a4fc383
1 file changed
+6
+6
View File
@@ -127,6 +127,12 @@ void gtkMessageBox( int type,gchar * str )
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: