psa: fix dbus call to open automatic update settings
authorYves Marcoz <yves@marcoz.org>
Thu, 2 Feb 2012 03:21:32 +0000 (19:21 -0800)
committerYves Marcoz <yves@marcoz.org>
Thu, 2 Feb 2012 03:21:32 +0000 (19:21 -0800)
FeedingIt-Sync/pysrc/feedingit.py

index 370a488..f2791ad 100644 (file)
@@ -244,11 +244,11 @@ class Controller(QtCore.QObject):
             config.setFontSize(value)
         config.saveConfig()
     
-    @QtCore.Slot(str, str)
+    @QtCore.Slot()
     def openSettings(self):
         bus = dbus.SessionBus()
         settingService = bus.get_object('com.nokia.DuiControlPanel', '/')
-        setting = shareService.get_dbus_method('appletPage', 'com.nokia.DuiControlPanelIf')
+        setting = settingService.get_dbus_method('appletPage', 'com.nokia.DuiControlPanelIf')
         setting(["FeedingIt"],)
 
     @QtCore.Slot(str, str)