[vlc-devel] commit: Skins2: add some entries for right-click menu in DP. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Sep 21 21:19:59 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Sep 21 12:18:20 2008 -0700| [70269d87d83228fceea96ef56137876f6c42526b] | committer: Jean-Baptiste Kempf 

Skins2: add some entries for right-click menu in DP.

Close #2080.

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

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

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index f9af79f..3195ae4 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -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* )




More information about the vlc-devel mailing list