root.updateProgress(int(total), int(completed))
def articleCountUpdated(self):
- print "article updated"
+ #print "article updated"
+ pass
def update_started(self):
root.updateStarted()
@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:
@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:
elif (setting == "fontSize" ):
config.setFontSize(value)
config.saveConfig()
+
+ @QtCore.Slot(str, str)
+ def openSettings(self):
+ bus = dbus.SessionBus()
+ settingService = bus.get_object('com.nokia.DuiControlPanel', '/')
+ setting = shareService.get_dbus_method('appletPage', 'com.nokia.DuiControlPanelIf')
+ setting("FeedingIt Updates")
@QtCore.Slot(str, str)
def share(self, key, articleid):