]> git.sesse.net Git - vlc/commitdiff
Menu order after protests.
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 22 Aug 2008 21:55:48 +0000 (14:55 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 22 Aug 2008 21:57:44 +0000 (14:57 -0700)
There is a logic in this order:
A video item has most of the time an audio track
An item with navigation has most of the time a video item
As you don't want to show empty menus=> audio, then video then navigation.

modules/gui/qt4/menus.cpp

index 6fca178a20de51535eb3695c2942579e340fcd77..228086154e41fe6be99dc0556586a89f7d024e35 100644 (file)
@@ -265,9 +265,9 @@ void QVLCMenu::createMenuBar( MainInterface *mi,
     QMenuBar *bar = mi->menuBar();
     BAR_ADD( FileMenu(), qtr( "&Media" ) );
 
-    BAR_DADD( NavigMenu( p_intf, NULL ), qtr( "P&layback" ), 3 );
     BAR_DADD( AudioMenu( p_intf, NULL ), qtr( "&Audio" ), 1 );
     BAR_DADD( VideoMenu( p_intf, NULL ), qtr( "&Video" ), 2 );
+    BAR_DADD( NavigMenu( p_intf, NULL ), qtr( "P&layback" ), 3 );
 
     BAR_ADD( PlaylistMenu( p_intf, mi ), qtr( "&Playlist" ) );
     BAR_ADD( ToolsMenu( p_intf, NULL, mi, visual_selector_enabled, true ),