# HG changeset patch # User ib # Date 1390521722 0 # Node ID e94b7a4a50706dd233bcc97171e92587c85713b5 # Parent 9b18f6a45d01dc01ef12ad5cc5c01d90446ee750 Rearrange video size entries in context menu in descending order. diff -r 9b18f6a45d01 -r e94b7a4a5070 gui/dialog/menu.c --- a/gui/dialog/menu.c Thu Jan 23 23:32:55 2014 +0000 +++ b/gui/dialog/menu.c Fri Jan 24 00:02:02 2014 +0000 @@ -686,10 +686,10 @@ ( guiApp.videoWindow.Height == guiInfo.VideoHeight / 2 ) ) b_half=True; else b1=( guiApp.videoWindow.Width == guiInfo.VideoWidth && guiApp.videoWindow.Height == guiInfo.VideoHeight ); } else b1=!guiApp.videoWindow.isFullScreen; - H=AddMenuCheckItem( window1, (const char*)half_xpm, Menu,MSGTR_MENU_HalfSize,b_half,evHalfSize ); + F=AddMenuCheckItem( window1, (const char*)full_xpm, Menu,MSGTR_MENU_FullScreen,guiApp.videoWindow.isFullScreen,evFullScreen + ( True << 16 ) ); + D=AddMenuCheckItem( window1, (const char*)double_xpm, Menu,MSGTR_MENU_DoubleSize,b2,evDoubleSize ); N=AddMenuCheckItem( window1, (const char*)normal_xpm, Menu,MSGTR_MENU_NormalSize" ",b1,evNormalSize ); - D=AddMenuCheckItem( window1, (const char*)double_xpm, Menu,MSGTR_MENU_DoubleSize,b2,evDoubleSize ); - F=AddMenuCheckItem( window1, (const char*)full_xpm, Menu,MSGTR_MENU_FullScreen,guiApp.videoWindow.isFullScreen,evFullScreen + ( True << 16 ) ); + H=AddMenuCheckItem( window1, (const char*)half_xpm, Menu,MSGTR_MENU_HalfSize,b_half,evHalfSize ); if ( !guiInfo.Playing ) { gtk_widget_set_sensitive( H,FALSE );