Commit 70269d87 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

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

Close #2080.
parent a2e0eaa1
...@@ -854,6 +854,8 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show ) ...@@ -854,6 +854,8 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
} }
addDPStaticEntry( submenu, qtr( I_MENU_EXT ), "", addDPStaticEntry( submenu, qtr( I_MENU_EXT ), "",
":/settings", SLOT( extendedDialog() ) ); ":/settings", SLOT( extendedDialog() ) );
addDPStaticEntry( submenu, qtr( I_MENU_INFO ) , "", ":/info",
SLOT( mediaInfoDialog() ), "Ctrl+I" );
if( mi ) if( mi )
{ {
action = submenu->addAction( QIcon( "" ), action = submenu->addAction( QIcon( "" ),
...@@ -870,6 +872,9 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show ) ...@@ -870,6 +872,9 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
else /* We are using the skins interface. else /* We are using the skins interface.
If not, this entry will not show. */ If not, this entry will not show. */
{ {
addDPStaticEntry( submenu, qtr( "&Preferences..." ), "",
":/preferences", SLOT( prefsDialog() ), "Ctrl+P" );
submenu->addSeparator();
objects.clear(); objects.clear();
varnames.clear(); varnames.clear();
vlc_object_t *p_object = ( vlc_object_t* ) vlc_object_t *p_object = ( vlc_object_t* )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment