fix email addresses being generated by g-a-m always being saved as type
2009-02-01 Jens Granseuer <jensgr@gmx.net> * gnome-about-me.c: (about_me_focus_out): fix email addresses being generated by g-a-m always being saved as type "OTHER" which could result in addresses being mixed up (bug #570113) svn path=/trunk/; revision=9232
This commit is contained in:
parent
5e934ab318
commit
2b8b464ef2
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2009-02-01 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
* gnome-about-me.c: (about_me_focus_out): fix email addresses being
|
||||
generated by g-a-m always being saved as type "OTHER" which could
|
||||
result in addresses being mixed up (bug #570113)
|
||||
|
||||
2009-02-01 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
* gnome-about-me.c: (about_me_load_photo), (about_me_update_photo),
|
||||
|
|
|
@ -335,6 +335,7 @@ about_me_focus_out (GtkWidget *widget, GdkEventFocus *event, GnomeAboutMe *me)
|
|||
me->email[ids[i].cid] = NULL;
|
||||
else
|
||||
me->email[ids[i].cid] = g_strdup (str);
|
||||
me->email_types[ids[i].cid] = (i == EMAIL_HOME) ? ATTRIBUTE_HOME : ATTRIBUTE_WORK;
|
||||
/* FIXME: i'm getting an empty address field in evolution */
|
||||
} else if (i >= ADDRESS_HOME && i < ADDRESS_WORK) {
|
||||
about_me_set_address_field (me->addr1, ids[i].cid, str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue