[vlc-devel] commit: Reorder the menus items. (Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Aug 21 20:04:37 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Aug 21 11:07:31 2008 -0700| [28cbdebdae26fd805e8189889f33c90002753da5] | committer: Jean-Baptiste Kempf 

Reorder the menus items.

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

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

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 7b0e0c6..5896f64 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -264,12 +264,15 @@ void QVLCMenu::createMenuBar( MainInterface *mi,
        setDesktopAware set to false */
     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_ADD( PlaylistMenu( p_intf, mi ), qtr( "&Playlist" ) );
     BAR_ADD( ToolsMenu( p_intf, NULL, mi, visual_selector_enabled, true ),
              qtr( "&Tools" ) );
-    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( HelpMenu( NULL ), qtr( "&Help" ) );
 }
 #undef BAR_ADD




More information about the vlc-devel mailing list