aboutsummaryrefslogtreecommitdiff
path: root/lumina-config/LPlugins.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2014-12-31 10:39:18 -0500
committerKen Moore <ken@pcbsd.org>2014-12-31 10:39:18 -0500
commitf8a5d88985688cd8bcfd2e2145a58f30cef8ec8f (patch)
treea1a58abf3e2b79cf709375f782c96a93a93ce952 /lumina-config/LPlugins.cpp
parentBe a little bit more careful about the handling of the "Exec=" field codes in... (diff)
downloadlumina-f8a5d88985688cd8bcfd2e2145a58f30cef8ec8f.tar.gz
lumina-f8a5d88985688cd8bcfd2e2145a58f30cef8ec8f.tar.bz2
lumina-f8a5d88985688cd8bcfd2e2145a58f30cef8ec8f.zip
Make the taskmanager plugin capable of two modes:
1) The normal mode/behaviour is to group windows by application (backwards compatible) 2) The "-nogroups" mode ensures that every window gets it's own button (uses a lot more space on the panel since it need to put part of the window title on each button too) This two modes are treated as distinct plugins via lumina-config for simplification purposes.
Diffstat (limited to 'lumina-config/LPlugins.cpp')
-rw-r--r--lumina-config/LPlugins.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/lumina-config/LPlugins.cpp b/lumina-config/LPlugins.cpp
index a257a690..731908b5 100644
--- a/lumina-config/LPlugins.cpp
+++ b/lumina-config/LPlugins.cpp
@@ -104,10 +104,17 @@ void LPlugins::LoadPanelPlugins(){
//Task Manager
info = LPI(); //clear it
info.name = QObject::tr("Task Manager");
- info.description = QObject::tr("View and control any running application windows");
+ info.description = QObject::tr("View and control any running application windows (every application has a button)");
info.ID = "taskmanager";
info.icon = "preferences-system-windows";
PANEL.insert(info.ID, info);
+ //Task Manager
+ info = LPI(); //clear it
+ info.name = QObject::tr("Task Manager (No Groups)");
+ info.description = QObject::tr("View and control any running application windows (every window has a button)");
+ info.ID = "taskmanager-nogroups";
+ info.icon = "preferences-system-windows";
+ PANEL.insert(info.ID, info);
//System Tray
info = LPI(); //clear it
info.name = QObject::tr("System Tray");
bgstack15