diff options
author | 2003-01-17 22:39:43 +0000 | |
---|---|---|
committer | 2003-01-17 22:39:43 +0000 | |
commit | 4ae9c5c307d951bf995434cfd6948c7a716516e7 (patch) | |
tree | 2f202c794043dca9ba4c4ddeae19c6adbd9c6c48 /Gui/mplayer/widgets.c | |
parent | d97e2769db3d66f3abc3a3ecb307309161f80379 (diff) |
- add playbar
- add vpotmeter
- fix gtk menu's pixel bug
- fix some critical (10l) bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8974 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/widgets.c')
-rw-r--r-- | Gui/mplayer/widgets.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Gui/mplayer/widgets.c b/Gui/mplayer/widgets.c index 206c3f25f0..5bb92f8e41 100644 --- a/Gui/mplayer/widgets.c +++ b/Gui/mplayer/widgets.c @@ -211,12 +211,21 @@ void gtkShow( int type,char * param ) case evShowPopUpMenu: gtkPopupMenu=evNone; gtkPopupMenuParam=0; - if ( PopUpMenu ) { gtk_widget_hide_on_delete( PopUpMenu ); } + if ( PopUpMenu ) + { + gtk_widget_hide( PopUpMenu ); + gtk_widget_destroy( PopUpMenu ); + } PopUpMenu=create_PopUpMenu(); gtk_menu_popup( GTK_MENU( PopUpMenu ),NULL,NULL,NULL,NULL,0,0 ); break; case evHidePopUpMenu: - if ( PopUpMenu ) { gtk_widget_hide_on_delete( PopUpMenu ); PopUpMenu=NULL; } + if ( PopUpMenu ) + { + gtk_widget_hide( PopUpMenu ); + gtk_widget_destroy( PopUpMenu ); + PopUpMenu=NULL; + } break; case evPlayNetwork: ShowURLDialogBox(); |