aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Gräßlin <mgraesslin@kde.org>2012-10-22 17:37:45 (GMT)
committerMartin Gräßlin <mgraesslin@kde.org>2012-10-24 18:36:05 (GMT)
commitd48c59f4eb523ac32d336df0e7441e69fac3ec5f (patch)
tree310036a8c28c0f8f3403dd6a52741a38a3ea3faa
parent521c19f98d5900aa296597bf6a591b3396feed69 (diff)
Enable GHNS for Window Switcher
Thanks to the new category on kde-look.org we can now show the GHNS button inside the KCM. BUG: 297636 FIXED-IN: 4.9.3 REVIEW: 106991
-rw-r--r--kwin/kcmkwin/kwintabbox/kwinswitcher.knsrc2
-rw-r--r--kwin/kcmkwin/kwintabbox/main.cpp3
2 files changed, 1 insertions, 4 deletions
diff --git a/kwin/kcmkwin/kwintabbox/kwinswitcher.knsrc b/kwin/kcmkwin/kwintabbox/kwinswitcher.knsrc
index dbc1f66..da86f09 100644
--- a/kwin/kcmkwin/kwintabbox/kwinswitcher.knsrc
+++ b/kwin/kcmkwin/kwintabbox/kwinswitcher.knsrc
@@ -1,5 +1,5 @@
[KNewStuff3]
-Categories=KWin Window Switcher
+Categories=KWin Switching Layouts
StandardResource=tmp
InstallationCommand=plasmapkg -t windowswitcher -i %f
UninstallCommand=plasmapkg -t windowswitcher -r %f
diff --git a/kwin/kcmkwin/kwintabbox/main.cpp b/kwin/kcmkwin/kwintabbox/main.cpp
index 5850416..2fc211e 100644
--- a/kwin/kcmkwin/kwintabbox/main.cpp
+++ b/kwin/kcmkwin/kwintabbox/main.cpp
@@ -110,9 +110,6 @@ KWinTabBoxConfig::KWinTabBoxConfig(QWidget* parent, const QVariantList& args)
ui[i]->effectConfigButton->setIcon(KIcon("view-preview"));
ui[i]->ghns->setIcon(KIcon("get-hot-new-stuff"));
- // TODO: remove once the category has been created.
- ui[i]->ghns->setVisible(false);
-
connect(ui[i]->highlightWindowCheck, SIGNAL(clicked(bool)), SLOT(changed()));
connect(ui[i]->showOutlineCheck, SIGNAL(clicked(bool)), SLOT(changed()));
connect(ui[i]->showTabBox, SIGNAL(clicked(bool)), SLOT(tabBoxToggled(bool)));