[Mplayer-cvslog] CVS: main/Gui/mplayer/gtk menu.c,1.2,1.3

Zoltan Ponekker pontscho at mplayer.dev.hu
Sun Nov 18 20:22:58 CET 2001


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

Modified Files:
	menu.c 
Log Message:
fix middle menu hideing bug

Index: menu.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/gtk/menu.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- menu.c	16 Nov 2001 23:17:52 -0000	1.2
+++ menu.c	18 Nov 2001 19:22:55 -0000	1.3
@@ -10,6 +10,7 @@
 {
 // fprintf( stderr,"[menu] item: %d\n",Item );
  gtkShMem->popupmenu=Item;
+ gtkShMem->visiblepopupmenu=0; 
  gtkSendMessage( evShowPopUpMenu );
 }
 
@@ -52,6 +53,7 @@
 }
 
 GtkWidget * DVDSubMenu;
+GtkWidget * DVDTitleMenu;
 GtkWidget * DVDAudioLanguageMenu;
 GtkWidget * DVDSubtitleLanguageMenu;
 
@@ -68,7 +70,7 @@
    SubMenu=AddSubMenu( Menu,"Open ..." );
     AddMenuItem( SubMenu,"Play file ...""    ", evLoadPlay );
     AddMenuItem( SubMenu,"Play VCD ...", evNone );
-    AddMenuItem( SubMenu,"Play DVD ...", evNone );
+    AddMenuItem( SubMenu,"Play DVD ...", evPlayDVD );
     AddMenuItem( SubMenu,"Play URL ...", evNone );
     AddMenuItem( SubMenu,"Load subtitle ...   ", evLoadSubtitle );
    SubMenu=AddSubMenu( Menu,"Playing" );
@@ -89,9 +91,10 @@
     AddMenuItem( SubMenu,"Double size", evDoubleSize );
     AddMenuItem( SubMenu,"Fullscreen", evFullScreen );
    DVDSubMenu=AddSubMenu( Menu,"DVD" );
-    AddMenuItem( DVDSubMenu,"Play disc ...""    ", evNone );
+    AddMenuItem( DVDSubMenu,"Play disc ...""    ", evPlayDVD );
     AddMenuItem( DVDSubMenu,"Show DVD Menu", evNone );
     AddSeparator( DVDSubMenu );
+    DVDTitleMenu=AddSubMenu( DVDSubMenu,"Titles" );
     DVDAudioLanguageMenu=AddSubMenu( DVDSubMenu,"Audio language" );
     DVDSubtitleLanguageMenu=AddSubMenu( DVDSubMenu,"Subtitle language" );
   AddSeparator( Menu );




More information about the MPlayer-cvslog mailing list