summaryrefslogtreecommitdiffstats
path: root/kicker/kicker/kicker-3.5-taskbarEnums.pl
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit4aed2c8219774f5d797760606b8489a92ddc5163 (patch)
tree3f8c130f7d269626bf6a9447407ef6c35954426a /kicker/kicker/kicker-3.5-taskbarEnums.pl
downloadtdebase-4aed2c8219774f5d797760606b8489a92ddc5163.tar.gz
tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker/kicker/kicker-3.5-taskbarEnums.pl')
-rwxr-xr-xkicker/kicker/kicker-3.5-taskbarEnums.pl54
1 files changed, 54 insertions, 0 deletions
diff --git a/kicker/kicker/kicker-3.5-taskbarEnums.pl b/kicker/kicker/kicker-3.5-taskbarEnums.pl
new file mode 100755
index 000000000..1379e0c9d
--- /dev/null
+++ b/kicker/kicker/kicker-3.5-taskbarEnums.pl
@@ -0,0 +1,54 @@
+#!/usr/bin/perl
+
+while (<>)
+{
+ ($key, $value) = ($_ =~ /([^=]+)=[ \t]*([^\n]+)/);
+ if ($key eq "GroupTasks")
+ {
+ if ($value eq "Never")
+ {
+ print "GroupTasks=GroupNever\n";
+ }
+ elsif ($value eq "When Taskbar Full")
+ {
+ print "GroupTasks=GroupWhenFull\n";
+ }
+ elsif ($value eq "Always")
+ {
+ print "GroupTasks=GroupAlways\n";
+ }
+ }
+ elsif ($key =~ /ButtonAction/)
+ {
+ if ($value eq "Show Task List")
+ {
+ print "$key=ShowTaskList\n";
+ }
+ elsif ($value eq "Show Operations Menu")
+ {
+ print "$key=ShowOperationsMenu\n";
+ }
+ elsif ($value eq "Activate, Raise or Minimize Task")
+ {
+ print "$key=ActivateRaiseOrMinimize\n";
+ }
+ elsif ($value eq "Activate Task")
+ {
+ print "$key=Activate\n";
+ }
+ elsif ($value eq "Raise Task")
+ {
+ print "$key=Raise\n";
+ }
+ elsif ($value eq "Lower Task")
+ {
+ print "$key=Lower\n";
+ }
+ elsif ($value eq "Minimize Task")
+ {
+ print "$key=Minimize\n";
+ }
+
+ }
+}
+