aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevashish Sharma <dsharma@src.gnome.org>2006-05-25 18:54:55 +0800
committerDevashish Sharma <dsharma@src.gnome.org>2006-05-25 18:54:55 +0800
commitfc1bc3d8692dc8bec2adc0b964e0ba3908c9493e (patch)
treef6d528eeeb03b356d3cb53c20cedf261432ea03a
parent791d198c226c9c49610eb3aa24416c77f89fe1b2 (diff)
downloadgsoc2013-evolution-fc1bc3d8692dc8bec2adc0b964e0ba3908c9493e.tar
gsoc2013-evolution-fc1bc3d8692dc8bec2adc0b964e0ba3908c9493e.tar.gz
gsoc2013-evolution-fc1bc3d8692dc8bec2adc0b964e0ba3908c9493e.tar.bz2
gsoc2013-evolution-fc1bc3d8692dc8bec2adc0b964e0ba3908c9493e.tar.lz
gsoc2013-evolution-fc1bc3d8692dc8bec2adc0b964e0ba3908c9493e.tar.xz
gsoc2013-evolution-fc1bc3d8692dc8bec2adc0b964e0ba3908c9493e.tar.zst
gsoc2013-evolution-fc1bc3d8692dc8bec2adc0b964e0ba3908c9493e.zip
gui/contact-editor/e-contact-quick-add.c : Right click add to
contacts doesnt work on email addresses in received mails. svn path=/trunk/; revision=32029
-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;
}