~doublep/py-gtktree/main

Viewing all changes in revision 25.

  • Committer: Paul Pogonyshev
  • Date: 2009-11-11 20:49:50 UTC
  • Revision ID: pogonyshev@gmx.net-20091111204950-k04sonxxcezccx5w
2009-11-11  Paul Pogonyshev  <pogonyshev@gmx.net>

        * gtktree/model.py (RowObjectListStore.note_changes): Override:
        call new _do_apply_sort_settings() when sorted.
        (RowObjectListStore.__setitem__): Call new
        _do_apply_sort_settings() when sorted in several places.
        (RowObjectListStore._do_apply_sort_settings): New method, break
        out of do_set_sort_column_id().

        * test/list_store.py (RowObjectListStoreTestCase.test_sortable_interface_1)
        (RowObjectListStoreTestCase.test_sortable_interface_append)
        (RowObjectListStoreTestCase.test_sortable_interface_set_item)
        (RowObjectListStoreTestCase.test_sortable_interface_note_changes):
        New tests.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: