changeset 34421:407da2eec15e

Use check items for CD and VCD titles as well. This way, the title being played will be emphasized. (Check items are already being used in the DVD menus.)
author ib
date Thu, 05 Jan 2012 12:55:33 +0000
parents 0b31cf6cec25
children b1f2949ca18d
files gui/ui/gtk/menu.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/gtk/menu.c	Thu Jan 05 12:44:02 2012 +0000
+++ b/gui/ui/gtk/menu.c	Thu Jan 05 12:55:33 2012 +0000
@@ -444,7 +444,7 @@
        {
         snprintf( tmp,32,MSGTR_MENU_Title,i );
     //AddMenuItem( CDTitleMenu,tmp,( i << 16 ) + ivSetCDTrack );
-        AddMenuItem(window1, (const char*)empty_xpm, CDTitleMenu,tmp,( i << 16 ) + ivSetCDTrack );
+        AddMenuCheckItem(window1, (const char*)empty_xpm, CDTitleMenu,tmp, guiInfo.Track == i, ( i << 16 ) + ivSetCDTrack );
        }
      }
      else
@@ -466,7 +466,7 @@
        {
         snprintf( tmp,32,MSGTR_MENU_Title,i );
     //AddMenuItem( VCDTitleMenu,tmp,( i << 16 ) + ivSetVCDTrack );
-        AddMenuItem(window1, (const char*)empty_xpm, VCDTitleMenu,tmp,( ( i + 1 ) << 16 ) + ivSetVCDTrack );
+        AddMenuCheckItem(window1, (const char*)empty_xpm, VCDTitleMenu,tmp, guiInfo.Track == i + 1, ( ( i + 1 ) << 16 ) + ivSetVCDTrack );
        }
      }
      else