changeset 34902:528cbb0076d0

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.
author ib
date Mon, 11 Jun 2012 11:00:28 +0000
parents b2d8b97bf74c
children 6a6b32a9b6b1
files gui/ui/gtk/menu.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/gtk/menu.c	Sat Jun 09 11:11:57 2012 +0000
+++ b/gui/ui/gtk/menu.c	Mon Jun 11 11:00:28 2012 +0000
@@ -625,6 +625,7 @@
    {
     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];