diff options
author | Ken Moore <ken@pcbsd.org> | 2015-01-21 09:22:27 -0500 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-01-21 09:22:27 -0500 |
commit | 1b194f252557051d4c625b596f2b7928a6cc01db (patch) | |
tree | c815dff4af1ee69a9b4ee1b469aa0ad2313c2aa3 /lumina-desktop/panel-plugins/NewPP.h | |
parent | Completely revamp the notepad desktop plugin so that it is now file-based ins... (diff) | |
download | lumina-1b194f252557051d4c625b596f2b7928a6cc01db.tar.gz lumina-1b194f252557051d4c625b596f2b7928a6cc01db.tar.bz2 lumina-1b194f252557051d4c625b596f2b7928a6cc01db.zip |
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.
Diffstat (limited to 'lumina-desktop/panel-plugins/NewPP.h')
-rw-r--r-- | lumina-desktop/panel-plugins/NewPP.h | 3 |
1 files changed, 3 insertions, 0 deletions
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:"<<plugin << " -- Ignored"; } |