From 1b194f252557051d4c625b596f2b7928a6cc01db Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 21 Jan 2015 09:22:27 -0500 Subject: Add a new panel-plugin: appmenu This plugin re-creates the classic "start" menu from other OS's. Also update how panel-plugins open menus, so now the menu will no longer cover the button that opened it. --- lumina-desktop/panel-plugins/NewPP.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lumina-desktop/panel-plugins/NewPP.h') diff --git a/lumina-desktop/panel-plugins/NewPP.h b/lumina-desktop/panel-plugins/NewPP.h index 6be3ae17..6c5c369c 100644 --- a/lumina-desktop/panel-plugins/NewPP.h +++ b/lumina-desktop/panel-plugins/NewPP.h @@ -22,6 +22,7 @@ #include "taskmanager/LTaskManagerPlugin.h" #include "systemdashboard/LSysDashboard.h" #include "showdesktop/LHomeButton.h" +#include "appmenu/LAppMenuPlugin.h" #include "systemtray/LSysTray.h" //must be last due to X11 compile issues class NewPP{ @@ -49,6 +50,8 @@ public: plug = new LClock(parent, plugin, horizontal); }else if(plugin.startsWith("systemdashboard---")){ plug = new LSysDashboard(parent, plugin, horizontal); + }else if(plugin.startsWith("appmenu---")){ + plug = new LAppMenuPlugin(parent, plugin, horizontal); }else{ qWarning() << "Invalid Panel Plugin:"<