[orca/orca-gnome3: 4/23] Added reload settings (saveSettings method)



commit 4a3a1258d39882d6f587d386e0c3745341107547
Author: José Ignacio �lvarez Ruiz <jialvarez emergya es>
Date:   Thu Mar 24 14:22:29 2011 +0100

    Added reload settings (saveSettings method)

 src/orca/dbusserver.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/dbusserver.py b/src/orca/dbusserver.py
index adf8eda..700a950 100644
--- a/src/orca/dbusserver.py
+++ b/src/orca/dbusserver.py
@@ -187,6 +187,10 @@ class Server(dbus.service.Object):
         _settingsManager.updateSetting(settingName, 
                 settingValueToUpdate[type(settingValue)](settingValue))
 
+        self.saveSettings()
+
+    @dbus.service.method(dbus_interface='org.gnome.Orca.Settings')
+    def saveSettings(self):
         _settingsManager.saveSettings(_settingsManager.general, 
                                       _settingsManager.pronunciations, 
                                       _settingsManager.keybindings)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]