[MPlayer-cvslog] r34996 - trunk/gui/ui/gtk/menu.c
ib
subversion at mplayerhq.hu
Mon Jun 11 13:00:29 CEST 2012
Author: ib
Date: Mon Jun 11 13:00:28 2012
New Revision: 34996
Log:
Revert r34511.
The "none" entry is needed to turn off subtitles.
Don't simply revert, but use a check item.
This way, the selection will be emphasized.
This closes Bugzilla #2073.
Modified:
trunk/gui/ui/gtk/menu.c
Modified: trunk/gui/ui/gtk/menu.c
==============================================================================
--- trunk/gui/ui/gtk/menu.c Sat Jun 9 13:11:57 2012 (r34995)
+++ trunk/gui/ui/gtk/menu.c Mon Jun 11 13:00:28 2012 (r34996)
@@ -625,6 +625,7 @@ GtkWidget * create_PopUpMenu( void )
{
int i;
SubMenu=AddSubMenu( window1, (const char*)empty_xpm, Menu, MSGTR_MENU_Subtitles );
+ AddMenuCheckItem( window1, (const char*)empty1px_xpm, SubMenu, MSGTR_MENU_None, guiInfo.mpcontext->global_sub_pos == -1, (-1 << 16) + ivSetSubtitle );
for ( i=0;i < global_sub_size;i++ )
{
char tmp[32];
More information about the MPlayer-cvslog
mailing list