def __init__ (self, properties, provider):
        Account.__init__(self, properties, provider)
        self.total_unread = 0
        self.cache = FeedCache(self)
        self.cache.load()
        for f in self.cache.feeds.values():
            if not f.feed_read:
                self.total_unread = self.total_unread + 1

        self.new_unread = []
Example #2
0
    def __init__ (self, properties, provider):
        Account.__init__(self, properties, provider)
        self.total_unread = 0
        self.cache = FeedCache(self)
        self.cache.load()
        for f in self.cache.feeds.values():
            if not f.feed_read:
                self.total_unread = self.total_unread + 1

        self.new_unread = []
Example #3
0
 def load_account(self, props):
     return Account(props, self)
 def activate (self):
     self.mark_read()
     Account.activate(self)
Example #5
0
 def activate (self):
     self.mark_read()
     Account.activate(self)