diff options
author | Ken Moore <moorekou@gmail.com> | 2016-06-30 15:05:54 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-06-30 15:05:54 -0400 |
commit | 70a35d68f5db7abd57210bc289a334df8dbc1dd2 (patch) | |
tree | 93fcc923e1ba4dabf6d8fac04188a00618dff73e /src-qt5/core-utils/lumina-config/LPlugins.cpp | |
parent | Fix some whitespace issues with the ls.json.sh script. (diff) | |
download | lumina-70a35d68f5db7abd57210bc289a334df8dbc1dd2.tar.gz lumina-70a35d68f5db7abd57210bc289a334df8dbc1dd2.tar.bz2 lumina-70a35d68f5db7abd57210bc289a334df8dbc1dd2.zip |
Add the new jsonmenu menu plugin to lumina-config, with a new dialog for setting it up.
Diffstat (limited to 'src-qt5/core-utils/lumina-config/LPlugins.cpp')
-rw-r--r-- | src-qt5/core-utils/lumina-config/LPlugins.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src-qt5/core-utils/lumina-config/LPlugins.cpp b/src-qt5/core-utils/lumina-config/LPlugins.cpp index 03490216..cf0c11ac 100644 --- a/src-qt5/core-utils/lumina-config/LPlugins.cpp +++ b/src-qt5/core-utils/lumina-config/LPlugins.cpp @@ -58,6 +58,7 @@ LPI LPlugins::colorInfo(QString item){ //=================== // PLUGINS //=================== +// PANEL PLUGINS void LPlugins::LoadPanelPlugins(){ PANEL.clear(); //User Button @@ -167,6 +168,7 @@ void LPlugins::LoadPanelPlugins(){ PANEL.insert(info.ID, info); } +// DESKTOP PLUGINS void LPlugins::LoadDesktopPlugins(){ DESKTOP.clear(); //Calendar Plugin @@ -232,6 +234,7 @@ void LPlugins::LoadDesktopPlugins(){ }*/ } +// MENU PLUGINS void LPlugins::LoadMenuPlugins(){ MENU.clear(); //Terminal @@ -283,6 +286,13 @@ void LPlugins::LoadMenuPlugins(){ info.ID = "app"; info.icon = "application-x-desktop"; MENU.insert(info.ID, info); + //Custom Apps + info = LPI(); //clear it + info.name = QObject::tr("Menu Script"); + info.description = QObject::tr("Run an external script to generate a menu"); + info.ID = "jsonmenu"; + info.icon = "text-x-script"; + MENU.insert(info.ID, info); } void LPlugins::LoadColorItems(){ |