diff options
author | 2002-07-25 20:26:38 +0000 | |
---|---|---|
committer | 2002-07-25 20:26:38 +0000 | |
commit | b1be9a6a39d94fc1cbe00eaaa7c7425c081d0721 (patch) | |
tree | 67e25086b99bac66ff938b93dfffb24d0de693c9 /Gui/mplayer/widgets.c | |
parent | 9ba7dabbab413d4eab2c262589276538b1193a09 (diff) |
- add preferences support (first try)
- fix some playlist bug
- fix some equ bug
- fix some redraw bug
- fix dvd playing
- fix file open dialog box
- etc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6795 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/widgets.c')
-rw-r--r-- | Gui/mplayer/widgets.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Gui/mplayer/widgets.c b/Gui/mplayer/widgets.c index 178fef1979..ba6b731bcf 100644 --- a/Gui/mplayer/widgets.c +++ b/Gui/mplayer/widgets.c @@ -30,7 +30,6 @@ #include "../../config.h" #include "../../help_mp.h" -GtkWidget * Options; GtkWidget * PopUpMenu = NULL; GtkWidget * WarningPixmap; @@ -148,6 +147,9 @@ void gtkMessageBox( int type,gchar * str ) break; } gtk_widget_show( MessageBox ); + gtkSetLayer( MessageBox ); + if ( type == GTK_MB_FATAL ) + while ( gtkVMessageBox ) gtk_main_iteration_do( 0 ); } void gtkSetLayer( GtkWidget * wdg ) @@ -187,13 +189,9 @@ void gtkShow( int type,char * param ) } break; case evPreferences: - gtkMessageBox( GTK_MB_WARNING,"Sorry, this feature is under development ..." ); -// Options=create_Options(); -// gtk_widget_show( Options ); -// gtkSetLayer( Options ); + ShowPreferences(); break; case evPlayList: -// gtkMessageBox( GTK_MB_WARNING,"Sorry, this feature is under development ..." ); ShowPlayList(); gtkSetLayer( PlayList ); break; @@ -226,7 +224,7 @@ void gtkShow( int type,char * param ) gtkVisible++; break; case evHidePopUpMenu: - if ( PopUpMenu ) { gtk_widget_hide_on_delete( PopUpMenu ); gtkVisible--; PopUpMenu=NULL; } + if ( PopUpMenu ) { gtk_widget_hide_on_delete( PopUpMenu ); /*gtkVisible--;*/ PopUpMenu=NULL; } break; case evPlayNetwork: ShowURLDialogBox(); |