[vlc-commits] Qt: fix video menu

Francois Cartegnie git at videolan.org
Sat Feb 12 22:12:59 CET 2011


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Feb 12 22:07:43 2011 +0100| [965f2f1b0154bf600e038b2e69087174fa4a3a13] | committer: Francois Cartegnie

Qt: fix video menu

'scale' is vlc autoscale not a value
snapshot could have meant thumb size
directx wallpaper is win32 only
just show desktop feature, not tech details to end user

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

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

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 83cea3d..96071d4 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -626,17 +626,18 @@ QMenu *QVLCMenu::VideoMenu( intf_thread_t *p_intf, QMenu *current )
         current->addSeparator();
 
         ACT_ADDCHECK( current, "fullscreen", qtr( "&Fullscreen" ) );
-        ACT_ADDCHECK( current, "video-on-top", qtr( "Always &On Top" ) );
-        ACT_ADDCHECK( current, "video-wallpaper", qtr( "DirectX Wallpaper" ) );
+        ACT_ADDCHECK( current, "autoscale", qtr( "Always Fit &Window" ) );
+        ACT_ADDCHECK( current, "video-on-top", qtr( "Always &on Top" ) );
 #ifdef WIN32
-        ACT_ADDCHECK( current, "direct3d-desktop", qtr( "Direct3D Desktop mode" ) );
+        ACT_ADDCHECK( current, "direct3d-desktop", qtr( "Display on &Desktop" ) );
+#endif
+        ACT_ADD( current, "video-snapshot", qtr( "Take &Snapshot" ) );
+#ifdef WIN32
+        ACT_ADDCHECK( current, "video-wallpaper", qtr( "Set as Wall&paper" ) );
 #endif
-        ACT_ADD( current, "video-snapshot", qtr( "Sna&pshot" ) );
-
         current->addSeparator();
 
         ACT_ADDMENU( current, "zoom", qtr( "&Zoom" ) );
-        ACT_ADDCHECK( current, "autoscale", qtr( "Sca&le" ) );
         ACT_ADDMENU( current, "aspect-ratio", qtr( "&Aspect Ratio" ) );
         ACT_ADDMENU( current, "crop", qtr( "&Crop" ) );
         ACT_ADDMENU( current, "deinterlace", qtr( "&Deinterlace" ) );



More information about the vlc-commits mailing list