straw-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Straw-commits] 0.26--mainline: patch-25


From: Mike Alonzo
Subject: [Straw-commits] 0.26--mainline: patch-25
Date: Sun, 1 Aug 2004 17:29:20 +1000 (EST)

Revision: straw--mainline--0.26--patch-25
Archive: address@hidden
Creator: Jan Alonzo <address@hidden>
Date: Sun Aug  1 17:29:12 EST 2004
Standard-date: 2004-08-01 07:29:12 GMT
Modified-files: src/lib/Feed.py src/lib/FeedItems.py
    src/lib/ItemStore.py src/lib/MainWindow.py
    src/lib/QueueDict.py src/straw
New-patches: address@hidden/straw--mainline--0.26--patch-25
    address@hidden/straw--mainline--0.26--patch-26
Summary: code cleanup; initialize FeedQD on __init_items, not clear
Keywords: 

Feed.py: remove unnecessary comment in *_n_items_unread()

* FeedItems.py: initialize a FeedQD object on __init_items, not clear()
                Removed number_of_items/number_of_unread/idseq in __add_items.
                Put them back in add_items/__restore_items.

* QueueDict.py: Restore sanity.
                Overwrite items() and values(). Returns items/values based on
                sort_order.
                Make property keys, gets keys base on sort_order.
                Make __iter__ return key/value iterator pairs.

* ItemStore.py: self._items returns key/value, not value.

* MainWindow.py: change iter to tree_iter in display_feed. We should try to
                 avoid using keywords next time.
                 Use feed.n_items_unread instead of feed.number_of_unread




reply via email to

[Prev in Thread] Current Thread [Next in Thread]