Mark displayed items as read (thanks estar).
authorPaweł Paprota <ppawel@fastmail.fm>
Sun, 13 Apr 2008 17:19:55 +0000 (13 19:19 +0200)
committerPaweł Paprota <ppawel@fastmail.fm>
Sun, 20 Apr 2008 16:45:48 +0000 (20 18:45 +0200)
straw/ItemView.py

index 8264ff5..fd73253 100644 (file)
@@ -569,6 +569,7 @@ class ItemView:
     def _display_item(self, item):
         self._html_presenter.display_item(item, self._encoding)
 #        self._scroll_presenter.update_view()
+        item.set_property("is_read", True)
 
     def display_empty_feed(self):
         self._html_presenter.display_empty_feed()