summaryrefslogtreecommitdiffstats
path: root/twin
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2014-11-27 12:43:57 +0900
committerMichele Calgaro <[email protected]>2014-11-27 12:43:57 +0900
commit6c5cd5674f92c55a7102ad7e10bed7c5f72f2e76 (patch)
tree00ff94df5cf7060e76d62960293a0b0b2982a470 /twin
parentdf0af3a449600b8617cd8c29ec5263adff7b04e6 (diff)
downloadtdebase-6c5cd5674f92c55a7102ad7e10bed7c5f72f2e76.tar.gz
tdebase-6c5cd5674f92c55a7102ad7e10bed7c5f72f2e76.zip
Fixed incomplete documentation for handbook in Appearance & Themes -> Window Decorarions. This relates to bug 1850.
Diffstat (limited to 'twin')
-rw-r--r--twin/kcmtwin/twindecoration/twindecoration.cpp18
1 files changed, 8 insertions, 10 deletions
diff --git a/twin/kcmtwin/twindecoration/twindecoration.cpp b/twin/kcmtwin/twindecoration/twindecoration.cpp
index 116afee10..c1a06b619 100644
--- a/twin/kcmtwin/twindecoration/twindecoration.cpp
+++ b/twin/kcmtwin/twindecoration/twindecoration.cpp
@@ -958,19 +958,17 @@ TQString KWinDecorationModule::quickHelp() const
TQString KWinDecorationModule::handbookSection() const
{
- // FIXME
- // Incomplete context-sensitive help documentation currently exists for this module!
int index = tabWidget->currentPageIndex();
- if (index == 0) {
- //return "window-deco-general";
- return TQString::null;
- }
- else if (index == 1) {
+ if (index == 0)
+ return "window-deco-general";
+ else if (index == 1)
return "window-deco-buttons";
- }
- else {
+ else if (index == 2)
+ return "window-deco-shadows";
+ else if (index == 3)
+ return "window-deco-manager";
+ else
return TQString::null;
- }
}
void KWinDecorationModule::resetKWin()