aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config/LPlugins.cpp
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2016-12-14 21:52:08 +0000
committerWeblate <noreply@weblate.org>2016-12-14 21:52:08 +0000
commitf274dd0526568b50e113baa85fcb26a87575eed9 (patch)
treecabcdb147e5dbf2cbe4c321c5ad59963c40c3e89 /src-qt5/core-utils/lumina-config/LPlugins.cpp
parentTranslated using Weblate (lumina_CONFIG@sl (generated)) (diff)
parentMerge branch 'master' of github.com:trueos/lumina (diff)
downloadlumina-f274dd0526568b50e113baa85fcb26a87575eed9.tar.gz
lumina-f274dd0526568b50e113baa85fcb26a87575eed9.tar.bz2
lumina-f274dd0526568b50e113baa85fcb26a87575eed9.zip
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/core-utils/lumina-config/LPlugins.cpp')
-rw-r--r--src-qt5/core-utils/lumina-config/LPlugins.cpp25
1 files changed, 23 insertions, 2 deletions
diff --git a/src-qt5/core-utils/lumina-config/LPlugins.cpp b/src-qt5/core-utils/lumina-config/LPlugins.cpp
index cc19f8e8..aa691df4 100644
--- a/src-qt5/core-utils/lumina-config/LPlugins.cpp
+++ b/src-qt5/core-utils/lumina-config/LPlugins.cpp
@@ -6,7 +6,7 @@
//===========================================
#include "LPlugins.h"
-#include <LuminaUtils.h>
+#include <LUtils.h>
LPlugins::LPlugins(){
LoadPanelPlugins();
@@ -166,6 +166,20 @@ void LPlugins::LoadPanelPlugins(){
info.ID = "applauncher";
info.icon = "quickopen";
PANEL.insert(info.ID, info);
+ //Audio Player Plugin
+ info = LPI(); //clear it
+ info.name = QObject::tr("Audio Player");
+ info.description = QObject::tr("Play through lists of audio files");
+ info.ID = "audioplayer";
+ info.icon = "media-playback-start";
+ PANEL.insert(info.ID, info);
+ //JSON Menu Scripts
+ info = LPI(); //clear it
+ info.name = QObject::tr("Menu Script");
+ info.description = QObject::tr("Run an external script to generate a user defined menu");
+ info.ID = "jsonmenu";
+ info.icon = "text-x-script";
+ PANEL.insert(info.ID, info);
}
// DESKTOP PLUGINS
@@ -286,13 +300,20 @@ void LPlugins::LoadMenuPlugins(){
info.ID = "app";
info.icon = "application-x-desktop";
MENU.insert(info.ID, info);
- //Custom Apps
+ //JSON Menu Scripts
info = LPI(); //clear it
info.name = QObject::tr("Menu Script");
info.description = QObject::tr("Run an external script to generate a user defined menu");
info.ID = "jsonmenu";
info.icon = "text-x-script";
MENU.insert(info.ID, info);
+ //Lock Screen item
+ info = LPI(); //clear it
+ info.name = QObject::tr("Lock Session");
+ info.description = QObject::tr("Lock the current desktop session");
+ info.ID = "lockdesktop";
+ info.icon = "system-lock-screen";
+ MENU.insert(info.ID, info);
}
void LPlugins::LoadColorItems(){
bgstack15