From: Yves Marcoz Date: Mon, 7 Jun 2010 03:11:59 +0000 (-0700) Subject: fix formatting X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;h=3e482f8c4ab04392c6d2f347ef35df1205203632;p=feedingit fix formatting --- diff --git a/debian/changelog b/debian/changelog index 547a811..3a3f2d4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +feedingit (0.7.0-2) unstable; urgency=low + + * Changed layout of article listing TreeView + * Reduced font for widget and made it single click + + -- Yves Sat, 29 May 2010 10:53:19 -0800 + feedingit (0.7.0-1) unstable; urgency=low * Fixed error message when viewing un-downloaded Archived Article diff --git a/src/FeedingIt.py b/src/FeedingIt.py index 32919b7..1ce9c3c 100644 --- a/src/FeedingIt.py +++ b/src/FeedingIt.py @@ -19,7 +19,7 @@ # ============================================================================ __appname__ = 'FeedingIt' __author__ = 'Yves Marcoz' -__version__ = '0.6.2' +__version__ = '0.7.0' __description__ = 'A simple RSS Reader for Maemo 5' # ============================================================================ diff --git a/src/config.py b/src/config.py index a38787f..5c98ec0 100644 --- a/src/config.py +++ b/src/config.py @@ -30,7 +30,7 @@ from gobject import idle_add from gconf import client_get_default from urllib2 import ProxyHandler -VERSION = "0.6.1" +VERSION = "48" section = "FeedingIt" ranges = { "updateInterval":[0.5, 1, 2, 4, 12, 24], "expiry":[24, 48, 72], "fontSize":range(12,24), "orientation":["Automatic", "Landscape", "Portrait"], "artFontSize":[10, 12, 14, 16, 18, 20]} @@ -114,7 +114,7 @@ class Config(): bus = dbus.SessionBus() proxy = bus.get_object("com.nokia.osso_browser", "/com/nokia/osso_browser/request") iface = dbus.Interface(proxy, 'com.nokia.osso_browser') - iface.open_new_window("http://feedingit.marcoz.org/%s.html" % VERSION) + iface.open_new_window("http://feedingit.marcoz.org/news/?page_id=%s" % VERSION) def onExit(self, *widget): self.saveConfig() diff --git a/src/feedparser.pyc b/src/feedparser.pyc index e33edbc..f2376cc 100644 Binary files a/src/feedparser.pyc and b/src/feedparser.pyc differ diff --git a/src/rss.py b/src/rss.py index b27c9a5..fd0dc5b 100644 --- a/src/rss.py +++ b/src/rss.py @@ -132,13 +132,13 @@ class Feed: tmp=feedparser.parse(self.url, etag = self.etag, modified = self.modified) else: tmp=feedparser.parse(self.url, etag = self.etag, modified = self.modified, handlers = [proxy]) - try: + try: self.etag = tmp["etag"] - except KeyError: + except KeyError: pass - try: + try: self.modified = tmp["modified"] - except KeyError: + except KeyError: pass expiry = float(expiryTime) * 3600. # Check if the parse was succesful (number of entries > 0, else do nothing) @@ -543,14 +543,14 @@ class Listing: del feed.imageHandler except: pass - try: - feed.etag - except AttributeError: - feed.etag = None - try: - feed.modified - except AttributeError: - feed.modified = None + try: + feed.etag + except AttributeError: + feed.etag = None + try: + feed.modified + except AttributeError: + feed.modified = None #feed.reloadUnread(self.configdir) else: #print key