diff options
author | 2002-08-04 17:24:00 +0000 | |
---|---|---|
committer | 2002-08-04 17:24:00 +0000 | |
commit | 432de7091cd2bde225c3dd182bd035dcb5083313 (patch) | |
tree | 10876cec2053739debf6af042e16c3587b9c5f82 /Gui/mplayer/gtk/mb.c | |
parent | e31043bcb91139f8b1cb6c20a0f44fbd66fbd7af (diff) |
- fix fuckin' locale (?:)
- fix msg box layer handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6899 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/gtk/mb.c')
-rw-r--r-- | Gui/mplayer/gtk/mb.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Gui/mplayer/gtk/mb.c b/Gui/mplayer/gtk/mb.c index cee01cb0b6..569efae6a4 100644 --- a/Gui/mplayer/gtk/mb.c +++ b/Gui/mplayer/gtk/mb.c @@ -16,9 +16,8 @@ int gtkVMessageBox = 0; 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(); } |