finch/libgnt/pygnt/example/rss/gntrss-ui.py

changeset 19176
487103c2e783
parent 19175
d6cea4e8560f
child 19178
952bf9cb471d
--- a/finch/libgnt/pygnt/example/rss/gntrss-ui.py	Sat Jul 28 11:30:54 2007 +0000
+++ b/finch/libgnt/pygnt/example/rss/gntrss-ui.py	Sat Jul 28 20:21:48 2007 +0000
@@ -158,7 +158,6 @@
     details.scroll(0)
     if item.unread:
         item.set_property('unread', False)
-    win.give_focus_to_child(browser)
 
 #
 # Look for action keys in the feed-item list.
@@ -196,7 +195,8 @@
 
 win.add_widget(box)
 
-win.add_widget(gnt.Line(vertical = False))
+line = gnt.Line(vertical = False)
+win.add_widget(line)
 
 # The textview to show the details of a feed
 details = gnt.TextView()
@@ -217,6 +217,7 @@
 
 # populate everything
 for feed in gntrss.feeds:
+    feed.refresh()
     add_feed(feed)
 
 gnt.gnt_main()

mercurial