summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-11-27 12:43:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-11-27 12:43:57 +0900
commit6c5cd5674f92c55a7102ad7e10bed7c5f72f2e76 (patch)
tree00ff94df5cf7060e76d62960293a0b0b2982a470
parentdf0af3a449600b8617cd8c29ec5263adff7b04e6 (diff)
downloadtdebase-6c5cd5674f92c55a7102ad7e10bed7c5f72f2e76.tar.gz
tdebase-6c5cd5674f92c55a7102ad7e10bed7c5f72f2e76.zip
Fixed incomplete documentation for handbook in Appearance & Themes -> Window Decorarions. This relates to bug 1850.
-rw-r--r--doc/kcontrol/twindecoration/index.docbook10
-rw-r--r--twin/kcmtwin/twindecoration/twindecoration.cpp18
2 files changed, 18 insertions, 10 deletions
diff --git a/doc/kcontrol/twindecoration/index.docbook b/doc/kcontrol/twindecoration/index.docbook
index 0efb5bb17..e08328b40 100644
--- a/doc/kcontrol/twindecoration/index.docbook
+++ b/doc/kcontrol/twindecoration/index.docbook
@@ -93,6 +93,16 @@ difficulty using a mouse.</para>
</sect2>
+<sect2 id="window-deco-shadows">
+<title>Shadows</title>
+<para>We apologize. This section has not been written yet.</para>
+</sect2>
+
+<sect2 id="window-deco-manager">
+<title>Window manager</title>
+<para>We apologize. This section has not been written yet.</para>
+</sect2>
+
</sect1>
</article>
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()