From 8176c91b2f8a3b3351e08e274ba5fb76f0926597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 22 Oct 2012 19:37:45 +0200 Subject: [PATCH] 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 --- kcmkwin/kwintabbox/kwinswitcher.knsrc | 2 +- kcmkwin/kwintabbox/main.cpp | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/kcmkwin/kwintabbox/kwinswitcher.knsrc b/kcmkwin/kwintabbox/kwinswitcher.knsrc index dbc1f66f2e..da86f09a74 100644 --- a/kcmkwin/kwintabbox/kwinswitcher.knsrc +++ b/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/kcmkwin/kwintabbox/main.cpp b/kcmkwin/kwintabbox/main.cpp index 5850416e3a..2fc211ec9e 100644 --- a/kcmkwin/kwintabbox/main.cpp +++ b/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)));