psa: more fixes if wc unavailable
[feedingit] / psa_harmattan / feedingit / deb_dist / feedingit-0.1.0 / pysrc / feedingit.py
index a951ec9..93ffc6a 100644 (file)
@@ -46,7 +46,8 @@ class Controller(QtCore.QObject):
         root.updateProgress(int(total), int(completed))
         
     def articleCountUpdated(self):
-        print "article updated"
+        #print "article updated"
+        pass
     
     def update_started(self):
         root.updateStarted()
@@ -79,7 +80,7 @@ class Controller(QtCore.QObject):
     @QtCore.Slot(str,str,bool,result=str)
     def getNextId(self, key, articleid, onlyUnread):
         if (onlyUnread):
-            print self.cachedList, articleid
+            #print self.cachedList, articleid
             index = self.cachedList.index(articleid)
             return self.cachedList[(index + 1) % len(self.cachedList)]
         else:
@@ -89,7 +90,7 @@ class Controller(QtCore.QObject):
     @QtCore.Slot(str,str,bool,result=str)
     def getPreviousId(self, key, articleid, onlyUnread):
         if (onlyUnread):
-            print self.cachedList, articleid
+            #print self.cachedList, articleid
             index = self.cachedList.index(articleid)
             return self.cachedList[(index - 1) % len(self.cachedList)]
         else:
@@ -240,7 +241,7 @@ class Controller(QtCore.QObject):
         bus = dbus.SessionBus()
         settingService = bus.get_object('com.nokia.DuiControlPanel', '/')
         setting = shareService.get_dbus_method('appletPage', 'com.nokia.DuiControlPanelIf')
-        setting("feedingitsync")
+        setting("FeedingIt Updates")
 
     @QtCore.Slot(str, str)
     def share(self, key, articleid):