gnome-control-center r9232 - trunk/capplets/about-me



Author: jensg
Date: Sun Feb  1 19:59:47 2009
New Revision: 9232
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=9232&view=rev

Log:
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)


Modified:
   trunk/capplets/about-me/ChangeLog
   trunk/capplets/about-me/gnome-about-me.c

Modified: trunk/capplets/about-me/gnome-about-me.c
==============================================================================
--- trunk/capplets/about-me/gnome-about-me.c	(original)
+++ trunk/capplets/about-me/gnome-about-me.c	Sun Feb  1 19:59:47 2009
@@ -335,6 +335,7 @@
 			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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]