[MPlayer-cvslog] r34511 - trunk/gui/ui/gtk/menu.c

ib subversion at mplayerhq.hu
Thu Jan 5 14:55:03 CET 2012


Author: ib
Date: Thu Jan  5 14:55:03 2012
New Revision: 34511

Log:
Remove pointless menu entry.

There is only a SubMenu, if there are entries,
so we don't need a "none" entry.

Modified:
   trunk/gui/ui/gtk/menu.c

Modified: trunk/gui/ui/gtk/menu.c
==============================================================================
--- trunk/gui/ui/gtk/menu.c	Thu Jan  5 14:50:34 2012	(r34510)
+++ trunk/gui/ui/gtk/menu.c	Thu Jan  5 14:55:03 2012	(r34511)
@@ -624,7 +624,6 @@ GtkWidget * create_PopUpMenu( void )
    {
     int i;
     SubMenu=AddSubMenu( window1, (const char*)empty_xpm, Menu, MSGTR_MENU_Subtitles );
-    AddMenuItem( window1, (const char*)empty_xpm, SubMenu, MSGTR_MENU_None, (-1 << 16) + ivSetSubtitle );
     for ( i=0;i < global_sub_size;i++ )
      {
       char tmp[32];


More information about the MPlayer-cvslog mailing list