[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, debian, updated. upstream/0.9.5.5-717-g0f98819

Klaus Kurzmann mok at fluxnetz.de
Sat Aug 6 08:19:48 UTC 2011


The following commit has been merged in the debian branch:
commit cfc0a5c3def2dc2556c86f3dad182181124de006
Author: Klaus Kurzmann <mok at fluxnetz.de>
Date:   Wed Apr 21 17:45:40 2010 +0200

    opreferencesd: adjust to API and rename Notify signal to Changed
    
    NOTE: this breaks applications listening to Notify !!!
    But is needed to make it work with glib signals (as used by libfso-glib).
    
    Signed-off-by: Klaus Kurzmann <mok at fluxnetz.de>

diff --git a/framework/subsystems/opreferencesd/opreferences.py b/framework/subsystems/opreferencesd/opreferences.py
index 8e0f517..112d97f 100644
--- a/framework/subsystems/opreferencesd/opreferences.py
+++ b/framework/subsystems/opreferencesd/opreferences.py
@@ -102,7 +102,7 @@ class PreferencesManager(dbus.service.Object):
         for s in self.services.itervalues():
             s.on_profile_changed(profile)
         
-        self.Notify(profile) # Let the system know the profile changed
+        self.Changed(profile) # Let the system know the profile changed
 
     @dbus.service.method("org.freesmartphone.Preferences", in_signature='', out_signature='as')
     def GetProfiles(self):
@@ -111,7 +111,7 @@ class PreferencesManager(dbus.service.Object):
         return profiles_service.GetValue('profiles')
 
     @dbus.service.signal("org.freesmartphone.Preferences", signature='s')
-    def Notify(self, profile):
+    def Changed(self, profile):
         """Signal used to notify of a profile change"""
         logger.debug("Notify change in profile to '%s'", profile)
         

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list