[vlc-commits] Qt: add entries in the popupmenu for lua extensions (dialog provider only)

Erwan Tulou git at videolan.org
Sat May 18 16:13:00 CEST 2013


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Sat May 18 15:21:42 2013 +0200| [309358ed0e2bf04314eb88570dcb510830582da6] | committer: Erwan Tulou

Qt: add entries in the popupmenu for lua extensions (dialog provider only)

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

 modules/gui/qt4/menus.cpp |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 3c21bc2..5ea6d17 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -1073,6 +1073,7 @@ void VLCMenuBar::PopupMenu( intf_thread_t *p_intf, bool show )
             submenu->setTitle( qtr( "Interface" ) );
             if( p_intf->p_sys->b_isDialogProvider )
             {
+                /* list of skins available */
                 vlc_object_t* p_object = p_intf->p_parent;
 
                 objects.clear(); varnames.clear();
@@ -1084,6 +1085,12 @@ void VLCMenuBar::PopupMenu( intf_thread_t *p_intf, bool show )
                 objects.append( p_object );
                 varnames.append( "intf-skins-interactive" );
                 Populate( p_intf, submenu, varnames, objects );
+
+                submenu->addSeparator();
+
+                /* Extensions */
+                ExtensionsMenu( p_intf, submenu );
+
             }
             else
                 msg_Warn( p_intf, "could not find parent interface" );



More information about the vlc-commits mailing list