[vlc-devel] commit: Qt menus: many new accelerators. (Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Feb 22 23:26:05 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Feb 22 23:24:43 2009 +0100| [eec6200bbb28c4b809a966f4bf7a1e57b2afd841] | committer: Jean-Baptiste Kempf 

Qt menus: many new accelerators.

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

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

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 4ce0e6f..0c2d09a 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -736,28 +736,28 @@ void QVLCMenu::PopupMenuControlEntries( QMenu *menu, intf_thread_t *p_intf )
     QAction *action;
 
     /* Faster/Slower */
-    action = menu->addAction( qtr( "Faster" ), THEMIM->getIM(),
+    action = menu->addAction( qtr( "&Faster" ), THEMIM->getIM(),
                               SLOT( faster() ) );
     action->setIcon( QIcon( ":/faster") );
     action->setData( true );
 
-    action = menu->addAction( qtr( "Normal Speed" ), THEMIM->getIM(),
+    action = menu->addAction( qtr( "N&ormal Speed" ), THEMIM->getIM(),
                               SLOT( normalRate() ) );
     action->setData( true );
 
-    action = menu->addAction( qtr( "Slower" ), THEMIM->getIM(),
+    action = menu->addAction( qtr( "Slo&wer" ), THEMIM->getIM(),
                               SLOT( slower() ) );
     action->setIcon( QIcon( ":/slower") );
     action->setData( true );
 
     menu->addSeparator();
 
-    action = menu->addAction( qtr( "Jump Forward" ), THEMIM->getIM(),
+    action = menu->addAction( qtr( "&Jump Forward" ), THEMIM->getIM(),
              SLOT( jumpFwd() ) );
     action->setIcon( QIcon( ":/skip_fw") );
     action->setData( true );
 
-    action = menu->addAction( qtr( "Jump Backward" ), THEMIM->getIM(),
+    action = menu->addAction( qtr( "Jump Bac&kward" ), THEMIM->getIM(),
              SLOT( jumpBwd() ) );
     action->setIcon( QIcon( ":/skip_back") );
     action->setData( true );
@@ -770,15 +770,15 @@ void QVLCMenu::PopupMenuControlEntries( QMenu *menu, intf_thread_t *p_intf )
 void QVLCMenu::PopupMenuPlaylistControlEntries( QMenu *menu,
                                                 intf_thread_t *p_intf )
 {
-    addMIMStaticEntry( p_intf, menu, qtr( "Stop" ), ":/stop", SLOT( stop() ) );
+    addMIMStaticEntry( p_intf, menu, qtr( "&Stop" ), ":/stop", SLOT( stop() ) );
 
     /* Next / Previous */
-    addMIMStaticEntry( p_intf, menu, qtr( "Previous" ),
+    addMIMStaticEntry( p_intf, menu, qtr( "Pre&vious" ),
             ":/previous", SLOT( prev() ) );
-    addMIMStaticEntry( p_intf, menu, qtr( "Next" ),
+    addMIMStaticEntry( p_intf, menu, qtr( "Ne&xt" ),
             ":/next", SLOT( next() ) );
     menu->addSeparator();
-}
+
 
 void QVLCMenu::PopupMenuStaticEntries( QMenu *menu )
 {




More information about the vlc-devel mailing list