diff options
author | Ken Moore <ken@pcbsd.org> | 2014-12-31 10:39:18 -0500 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2014-12-31 10:39:18 -0500 |
commit | f8a5d88985688cd8bcfd2e2145a58f30cef8ec8f (patch) | |
tree | a1a58abf3e2b79cf709375f782c96a93a93ce952 /lumina-desktop/panel-plugins/NewPP.h | |
parent | Be a little bit more careful about the handling of the "Exec=" field codes in... (diff) | |
download | lumina-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-desktop/panel-plugins/NewPP.h')
-rw-r--r-- | lumina-desktop/panel-plugins/NewPP.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lumina-desktop/panel-plugins/NewPP.h b/lumina-desktop/panel-plugins/NewPP.h index c378f07e..f71ad45b 100644 --- a/lumina-desktop/panel-plugins/NewPP.h +++ b/lumina-desktop/panel-plugins/NewPP.h @@ -33,7 +33,8 @@ public: plug = new LDeskBarPlugin(parent, plugin, horizontal); }else if(plugin.startsWith("spacer---")){ plug = new LSpacerPlugin(parent, plugin, horizontal); - }else if(plugin.startsWith("taskmanager---")){ + }else if(plugin.startsWith("taskmanager")){ + //This one can be "taskmanager[-nogroups]---" plug = new LTaskManagerPlugin(parent, plugin, horizontal); }else if(plugin.startsWith("systemtray---")){ plug = new LSysTray(parent, plugin, horizontal); |