Skins2: add some entries for right-click menu in DP.
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 21 Sep 2008 19:18:20 +0000 (12:18 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 21 Sep 2008 19:20:58 +0000 (12:20 -0700)
Close #2080.

modules/gui/qt4/menus.cpp

index f9af79f..3195ae4 100644 (file)
@@ -854,6 +854,8 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
             }
             addDPStaticEntry( submenu, qtr( I_MENU_EXT ), "",
                 ":/settings", SLOT( extendedDialog() ) );
+            addDPStaticEntry( submenu, qtr( I_MENU_INFO ) , "", ":/info",
+                SLOT( mediaInfoDialog() ), "Ctrl+I" );
             if( mi )
             {
                 action = submenu->addAction( QIcon( "" ),
@@ -870,6 +872,9 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
             else /* We are using the skins interface.
                     If not, this entry will not show. */
             {
+                addDPStaticEntry( submenu, qtr( "&Preferences..." ), "",
+                    ":/preferences", SLOT( prefsDialog() ), "Ctrl+P" );
+                submenu->addSeparator();
                 objects.clear();
                 varnames.clear();
                 vlc_object_t *p_object = ( vlc_object_t* )