[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kde-workspace/KDE/4.8] khotkeys/kcm_hotkeys: add X-DocPath and enable Help button, we have a docume
From:       Burkhard_Lück <lueck () hube-lueck ! de>
Date:       2012-05-05 16:31:59
Message-ID: 20120505163159.17B14A60A9 () git ! kde ! org
[Download RAW message or body]

Git commit 0f0a37a835619a7e3f71fdfb3cb652705905f257 by Burkhard Lück.
Committed on 05/05/2012 at 18:31.
Pushed by lueck into branch 'KDE/4.8'.

add X-DocPath and enable Help button, we have a documentation now

M  +1    -1    khotkeys/kcm_hotkeys/kcm_hotkeys.cpp
M  +1    -0    khotkeys/kcm_hotkeys/khotkeys.desktop

http://commits.kde.org/kde-workspace/0f0a37a835619a7e3f71fdfb3cb652705905f257

diff --git a/khotkeys/kcm_hotkeys/kcm_hotkeys.cpp b/khotkeys/kcm_hotkeys/kcm_hotkeys.cpp
index fbd68e4..389a361 100644
--- a/khotkeys/kcm_hotkeys/kcm_hotkeys.cpp
+++ b/khotkeys/kcm_hotkeys/kcm_hotkeys.cpp
@@ -100,7 +100,7 @@ KCMHotkeys::KCMHotkeys( QWidget *parent, const QVariantList & /* args */ )
      ,d( new KCMHotkeysPrivate(this) )
     {
     // Inform KCModule of the buttons we support
-    KCModule::setButtons(KCModule::Buttons(KCModule::Default | KCModule::Apply));
+    KCModule::setButtons(KCModule::Buttons(KCModule::Default | KCModule::Apply | KCModule::Help));
 
     // Add the about data
     KAboutData *about = new KAboutData(
diff --git a/khotkeys/kcm_hotkeys/khotkeys.desktop b/khotkeys/kcm_hotkeys/khotkeys.desktop
index 1c084f1..9302612 100644
--- a/khotkeys/kcm_hotkeys/khotkeys.desktop
+++ b/khotkeys/kcm_hotkeys/khotkeys.desktop
@@ -8,6 +8,7 @@ X-KDE-PluginKeyword=khotkeys
 X-KDE-Init-Symbol=khotkeys
 X-KDE-System-Settings-Parent-Category=shortcuts-and-gestures
 X-KDE-ParentApp=kcontrol
+X-DocPath=kcontrol/khotkeys/index.html
 
 Name=Custom Shortcuts
 Name[ar]=اختصارات مخصصة
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic