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
remotes/origin/Plasma/5.0
Martin Gräßlin 14 years ago
parent 7f26069f25
commit 8176c91b2f
  1. 2
      kcmkwin/kwintabbox/kwinswitcher.knsrc
  2. 3
      kcmkwin/kwintabbox/main.cpp

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

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

Loading…
Cancel
Save