aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/contact-editor/e-contact-quick-add.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 5ecc5070af..04ddcca937 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,10 @@
2006-05-25 Devashish Sharma <sdevashish@novell.com>
+ * gui/contact-editor/e-contact-quick-add.c : Right click add to
+ contacts doesnt work on email addresses in received mails.
+
+2006-05-25 Devashish Sharma <sdevashish@novell.com>
+
* gui/widgets/eab-contact-display.c : Name of some fields differ
when seen in preview pane and contact editor (Video Chat in contact
editor and Video Conferencing in preview pane).
diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c
index b3b2c95e92..66144a65d7 100644
--- a/addressbook/gui/contact-editor/e-contact-quick-add.c
+++ b/addressbook/gui/contact-editor/e-contact-quick-add.c
@@ -322,10 +322,11 @@ build_quick_add_dialog (QuickAdd *qa)
book = e_book_new_default_addressbook (NULL);
e_source_option_menu_select (E_SOURCE_OPTION_MENU (qa->option_menu), e_book_get_source(book));
if (qa->book) {
- g_object_unref (book);
+ g_object_unref (qa->book);
qa->book = NULL;
}
qa->book = book ;
+ source_selected(qa->option_menu, e_source_option_menu_peek_selected (qa->option_menu), qa);
g_signal_connect (qa->option_menu, "source_selected", G_CALLBACK (source_selected), qa);
g_object_unref (source_list);
@@ -370,7 +371,6 @@ build_quick_add_dialog (QuickAdd *qa)
GTK_WIDGET (table),
FALSE, FALSE, 0);
gtk_widget_show_all (GTK_WIDGET (table));
-
return dialog;
}