~ubuntuone-control-tower/ubuntu/karmic/desktopcouch/spb

Viewing all changes in revision 43.

  • Committer: Elliot Murphy
  • Author(s): rick.spencer at canonical
  • Date: 2009-08-23 18:12:19 UTC
  • mfrom: (41.2.2 desktopcouch)
  • Revision ID: elliot@canonical.com-20090823181219-vi198fv4ajnlvje0
1. rename CouchWidget to CouchGrid - I did this because "CouchWidget" is too generic, and also we may want to create other desktopcouch pygtk widgets in the future. "CouchWidget" should be reserved for a baseclass that handles desktopcouch.records connectivity, and the CouchGrid and other widgets can derive from it.
2. renamed CouchGrid.headings to CouchGrid.keys to better reflect the actual role of the property. "Headings" are really TreeViewColumn titles, which can be set in the CouchGrid, as it derives from TreeView.
3. Changed couchwidget tests to couchgrid tests, and updated them so that they pass after the renamings.
4. Added a test for contactspicker to test that contactspicker can be constructed after the renaming. More tests should probably be added to test_contactspicker in the future.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: