[vlc-devel] commit: Menu order after protests. (Jean-Baptiste Kempf )

git version control git at videolan.org
Fri Aug 22 23:54:56 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Aug 22 14:55:48 2008 -0700| [6648b4c11eb12f5bd6cbc1a883fa8165bbb8d805] | committer: Jean-Baptiste Kempf 

Menu order after protests.

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.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6648b4c11eb12f5bd6cbc1a883fa8165bbb8d805
---

 modules/gui/qt4/menus.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 6fca178..2280861 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -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 ),




More information about the vlc-devel mailing list