Hi,

I should have pointed out when I started the recent usability
discussion, that although I am currently working for OpenMoko, I am no
longer a developer on the GUI team.

Therefore, I have attached a patch to enable one of the features I would
like to see in OpenMoko contacts. This allows viewing the mobile number,
or other phone number if no mobile, in the contacts list.

The patch is short because I have actually already added the
implementation to libhito, and therefore it just needs to be enabled in
OpenMoko Contacts. I have attached before and after screenshots for
comments.

Regards,

Thomas

-- 
OpenedHand Ltd.

Unit R Homesdale Business Center / 216-218 Homesdale Road /
Bromley / BR1 2QZ / UK             Tel: +44 (0)20 8819 6559

Expert Open Source For Consumer Devices - http://o-hand.com/
------------------------------------------------------------

<<attachment: after.png>>

<<attachment: before.png>>

Index: openmoko-contacts-list.c
===================================================================
--- openmoko-contacts-list.c	(revision 409)
+++ openmoko-contacts-list.c	(working copy)
@@ -124,6 +124,7 @@
 
   data->contacts_treeview = hito_contact_view_new (HITO_CONTACT_STORE (data->contact_store),
                                     HITO_CONTACT_MODEL_FILTER (contact_filter));
+  g_object_set (data->contacts_treeview, "display-phone", TRUE, NULL);
   g_signal_connect (gtk_tree_view_get_selection (GTK_TREE_VIEW (data->contacts_treeview)),
                     "changed", G_CALLBACK (on_selection_changed), data);
   gtk_container_add (GTK_CONTAINER (scrolled), data->contacts_treeview);

Reply via email to