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
This commit is contained in:
Martin Gräßlin 2012-10-22 19:37:45 +02:00
parent 7f26069f25
commit 8176c91b2f
2 changed files with 1 additions and 4 deletions

View file

@ -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

View file

@ -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)));