[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kcontrol/access
From: Gunnar Schmidt <gunnar () schmi-dt ! de>
Date: 2005-02-16 15:01:39
Message-ID: 20050216150139.1917A1D01E () office ! kde ! org
[Download RAW message or body]
CVS commit by gunnar:
This should fix bug #98358
M +2 -1 kaccess.cpp 1.28
M +5 -27 kcmaccess.cpp 1.44
--- kdebase/kcontrol/access/kaccess.cpp #1.27:1.28
@@ -592,5 +592,4 @@ void KAccessApp::applyChanges() {
config->sync();
- readSettings();
}
@@ -620,4 +619,5 @@ void KAccessApp::yesClicked() {
if (features != requestedFeatures)
applyChanges();
+ readSettings();
}
@@ -648,4 +648,5 @@ void KAccessApp::noClicked() {
if (features != requestedFeatures)
applyChanges();
+ readSettings();
}
--- kdebase/kcontrol/access/kcmaccess.cpp #1.43:1.44
@@ -37,32 +37,10 @@
#include "kcmaccess.moc"
-static bool needToRunKAccessDaemon( KConfig *config )
+static bool needToRunKAccessDaemon( KConfig * )
{
- KConfigGroup bell( config, "Bell" );
-
- if (!bell.readBoolEntry("SystemBell", true))
- return true;
- if (bell.readBoolEntry("ArtsBell", false))
- return true;
- if (bell.readBoolEntry("VisibleBell", false))
- return true;
-
- KConfigGroup keyboard( config, "Keyboard" );
-
- if (keyboard.readBoolEntry("StickyKeys", false))
- return true;
- if (keyboard.readBoolEntry("SlowKeys", false))
- return true;
- if (keyboard.readBoolEntry("BounceKeys", false))
- return true;
- if (keyboard.readBoolEntry("Gestures", true))
- return true;
-
- KConfigGroup mouse( config, "Mouse" );
-
- if (mouse.readBoolEntry("MouseKeys", false))
+ // Since we have the gesture settings we always have to start
+ // the KAccess daemon as we do not know whether the gestures
+ // are activated by default in the X configuration or not.
return true;
-
- return false; // don't need it
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic