[Mplayer-cvslog] CVS: main/Gui/mplayer/gtk mb.c,1.11,1.12

Zoltan Ponekker pontscho at mplayerhq.hu
Sun Aug 4 19:24:03 CEST 2002


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

Modified Files:
	mb.c 
Log Message:


- fix fuckin' locale (?:)
- fix msg box layer handling


Index: mb.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/gtk/mb.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- mb.c	30 Jul 2002 23:09:24 -0000	1.11
+++ mb.c	4 Aug 2002 17:24:00 -0000	1.12
@@ -16,9 +16,8 @@
 
 void ShowMessageBox( char * msg )
 {
- if ( gtkVMessageBox ) gtkActive( MessageBox );
-   else MessageBox=create_MessageBox( 0 );
- gtkSetLayer( MessageBox );
+ if ( gtkVMessageBox ) { gtk_widget_hide( MessageBox ); gtk_widget_destroy( MessageBox ); }
+ MessageBox=create_MessageBox( 0 );
  if ( strlen( msg ) < 20 ) gtk_widget_set_usize( MessageBox,196,-1 );
  gtkIncVisible();
 }




More information about the MPlayer-cvslog mailing list