X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=psa_harmattan%2Ffeedingit%2Fdeb_dist%2Ffeedingit-0.1.0%2Fpysrc%2Ffeedingit.py;h=93ffc6ad33472284ff9f495548cb2c6bf5402251;hb=69e47bad17e0546257db47fadd67c1d8b299bac0;hp=a951ec98937c74cb15eb133170f71a68038f5c7f;hpb=9f2bf45866bc933b8f353daba0cb7d0a4f87aae5;p=feedingit diff --git a/psa_harmattan/feedingit/deb_dist/feedingit-0.1.0/pysrc/feedingit.py b/psa_harmattan/feedingit/deb_dist/feedingit-0.1.0/pysrc/feedingit.py index a951ec9..93ffc6a 100644 --- a/psa_harmattan/feedingit/deb_dist/feedingit-0.1.0/pysrc/feedingit.py +++ b/psa_harmattan/feedingit/deb_dist/feedingit-0.1.0/pysrc/feedingit.py @@ -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):