[MPlayer-cvslog] r36716 - trunk/gui/dialog/menu.c
ib
subversion at mplayerhq.hu
Fri Jan 24 01:17:12 CET 2014
Author: ib
Date: Fri Jan 24 01:17:12 2014
New Revision: 36716
Log:
Relocate the video size entries in the context menu.
Put them behind the open/play entries which will leave
the block with the preferences entry at a fixed position.
Modified:
trunk/gui/dialog/menu.c
Modified: trunk/gui/dialog/menu.c
==============================================================================
--- trunk/gui/dialog/menu.c Fri Jan 24 01:02:02 2014 (r36715)
+++ trunk/gui/dialog/menu.c Fri Jan 24 01:17:12 2014 (r36716)
@@ -666,14 +666,6 @@ GtkWidget * CreatePopUpMenu( void )
}
}
- AddSeparator( Menu );
- MenuItem=AddMenuCheckItem( window1, (const char*)sound_xpm, Menu,MSGTR_MENU_Mute,mixer->muted,evMute );
- if ( !guiInfo.AudioChannels ) gtk_widget_set_sensitive( MenuItem,FALSE );
- AddMenuItem( window1, (const char*)playlist_xpm, Menu,MSGTR_MENU_PlayList, evPlaylist );
- AddMenuItem( window1, (const char*)skin_xpm, Menu,MSGTR_MENU_SkinBrowser, evSkinBrowser );
- AddMenuItem( window1, (const char*)equalizer_xpm, Menu,MSGTR_Equalizer, evEqualizer );
- AddMenuItem( window1, (const char*)prefs_xpm, Menu,MSGTR_MENU_Preferences, evPreferences );
-
if ( guiInfo.VideoWindow )
{
int b1 = False, b2 = False, b_half = False;
@@ -700,6 +692,14 @@ GtkWidget * CreatePopUpMenu( void )
}
AddSeparator( Menu );
+ MenuItem=AddMenuCheckItem( window1, (const char*)sound_xpm, Menu,MSGTR_MENU_Mute,mixer->muted,evMute );
+ if ( !guiInfo.AudioChannels ) gtk_widget_set_sensitive( MenuItem,FALSE );
+ AddMenuItem( window1, (const char*)playlist_xpm, Menu,MSGTR_MENU_PlayList, evPlaylist );
+ AddMenuItem( window1, (const char*)skin_xpm, Menu,MSGTR_MENU_SkinBrowser, evSkinBrowser );
+ AddMenuItem( window1, (const char*)equalizer_xpm, Menu,MSGTR_Equalizer, evEqualizer );
+ AddMenuItem( window1, (const char*)prefs_xpm, Menu,MSGTR_MENU_Preferences, evPreferences );
+
+ AddSeparator( Menu );
AddMenuItem( window1, (const char*)exit_xpm, Menu,MSGTR_MENU_Exit, evExit );
return Menu;
More information about the MPlayer-cvslog
mailing list