From ef5c4898659a7811fb442b5cf7b85ec346332381 Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson Date: Wed, 17 Dec 2003 04:49:40 +0000 Subject: Update the contact's UID after normal add. 2003-12-16 Hans Petter Jansson * gui/contact-editor/e-contact-editor.c (contact_added_cb): Update the contact's UID after normal add. svn path=/trunk/; revision=23959 --- addressbook/gui/contact-editor/e-contact-editor.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'addressbook/gui/contact-editor') diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 71ac2949d9..e80901fa5e 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -1059,6 +1059,8 @@ contact_added_cb (EBook *book, EBookStatus status, const char *id, EditorCloseSt gtk_widget_set_sensitive (ce->app, TRUE); ce->in_async_call = FALSE; + e_contact_set (ce->contact, E_CONTACT_UID, (char *) id); + g_signal_emit (ce, contact_editor_signals[CONTACT_ADDED], 0, status, ce->contact); -- cgit v1.2.3