Hito Lives!

Hito is alive!

Hito

I admit that the contact preview needs some work, there is some tasty code in Contacts I need to refactor.

So, what is happening here? The tree view is a HitoContactView, which subclasses GtkTreeView. This displays the contents of a HitoContactStore, a subclass of GtkListStore which holds the EContacts from an EBookView. In between the store and the view is a HitoContactFilterModel, which can filter both on groups (currently the most useful implementation is HitoCategoryGroup, which groups on the CATEGORY vCard field) and text, which does decomposed matches against the contact's name.

The combo box is a HitoGroupCombo, which controls the group being filtered. The entry is the only widget which isn't a subclass (yet), and controls the text being filtered. The final bit of magic is HitoGroupStore, which collects categories from contacts and creates HitoCategoryGroups as required (this is used as the model for the combo).

Now for the hard work of writing a usable preview widget, and the nightmare of a decent contact editor...

NP: Live At the Union Chapel, Damien Rice

19:50 Monday, 18 Jun 2007 [#] [computers] (4 comments)

Posted by Snark at Mon Jun 18 20:42:52 2007:
Shouldn't such a contact-editing widget come with a libebook-ui lib?

I ask because I'm rewriting ekiga's contact code, and I find the various available contact apis lacking...
Posted by Ross at Mon Jun 18 21:04:31 2007:
Personally I'm not sure.  The widgets in libhito will be as flexible as possible, but a contact editor for PDAs (a la Contacts), Evolution's UI, and  Ekiga's contact editor are vastly different use cases.
Posted by mike at Mon Jun 18 23:10:54 2007:
Rewrite of Contacts, nice!

At the moment Contacts was far too big IMHO.

This looks much more like the ones shown on the openMoko screenshots :)
Posted by Ross at Tue Jun 19 07:32:24 2007:
The Contacts UI was too large?  First time I've heard that. :)  You do realise that the standard Contacts and the OpenMoko Contacts screenshots are both 640x480, the main difference is that the OpenMoko contacts is rotated so has a vertical rather than horizonal layout.

Name:


E-mail:


URL:


Add 1 and 4 (required):


Comment: