[Bug 62760] Re: Contact Lookup applet support for secondary home and business phone numbers
Francesco Degrassi
fdegrassi at gmail.com
Thu Sep 28 10:39:19 UTC 2006
** Attachment added: "Patch to add support for the secondary home and business phone fields"
http://librarian.launchpad.net/4536254/contact-lookup-applet.diff
** Description changed:
Contact lookup applet displays only the following fields in it's popup dialog.
E_CONTACT_PHONE_HOME
E_CONTACT_PHONE_BUSINESS
Since often people has multiple home and business phones, i needed support in it also for E_CONTACT_PHONE_HOME_2
E_CONTACT_PHONE_BUSINESS_2
- I'm attaching a diff against contact-lookup-applet-0.14-ubuntu1 that simply adds the aforementioned fields to the "phone" label.
- _____________________________________________
-
- diff -U3 -r contact-lookup-applet-0.14/src/contact-dialog.c xxxx/src/contact-dialog.c
- --- contact-lookup-applet-0.14/src/contact-dialog.c 2004-09-30 18:46:53.000000000 +0200
- +++ xxxx/src/contact-dialog.c 2006-09-28 11:48:31.454704500 +0200
- @@ -320,12 +320,22 @@
- g_string_append (s, phone);
- g_string_append (s, _(" (home)\n"));
- }
- + phone = e_contact_get_const (contact, E_CONTACT_PHONE_HOME_2);
- + if (phone) {
- + g_string_append (s, phone);
- + g_string_append (s, _(" (home)\n"));
- + }
-
- phone = e_contact_get_const (contact, E_CONTACT_PHONE_BUSINESS);
- if (phone) {
- g_string_append (s, phone);
- g_string_append (s, _(" (work)\n"));
- }
- + phone = e_contact_get_const (contact, E_CONTACT_PHONE_BUSINESS_2);
- + if (phone) {
- + g_string_append (s, phone);
- + g_string_append (s, _(" (work)\n"));
- + }
-
- phone = e_contact_get_const (contact, E_CONTACT_PHONE_MOBILE);
- if (phone) {
+ I'm attaching a diff against contact-lookup-applet-0.14-ubuntu1 that
+ simply adds the aforementioned fields to the "phone" label.
--
Contact Lookup applet support for secondary home and business phone numbers
https://launchpad.net/bugs/62760
More information about the desktop-bugs
mailing list