diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2003-12-17 12:49:40 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-12-17 12:49:40 +0800 |
commit | ef5c4898659a7811fb442b5cf7b85ec346332381 (patch) | |
tree | df1c0a167f498643946400356475d8e6eedb8bcf /addressbook/gui | |
parent | 216085f3c1c253bb9c3418af484ff571c8111414 (diff) | |
download | gsoc2013-evolution-ef5c4898659a7811fb442b5cf7b85ec346332381.tar gsoc2013-evolution-ef5c4898659a7811fb442b5cf7b85ec346332381.tar.gz gsoc2013-evolution-ef5c4898659a7811fb442b5cf7b85ec346332381.tar.bz2 gsoc2013-evolution-ef5c4898659a7811fb442b5cf7b85ec346332381.tar.lz gsoc2013-evolution-ef5c4898659a7811fb442b5cf7b85ec346332381.tar.xz gsoc2013-evolution-ef5c4898659a7811fb442b5cf7b85ec346332381.tar.zst gsoc2013-evolution-ef5c4898659a7811fb442b5cf7b85ec346332381.zip |
Update the contact's UID after normal add.
2003-12-16 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (contact_added_cb): Update
the contact's UID after normal add.
svn path=/trunk/; revision=23959
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |