aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
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 /addressbook/gui
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
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/contact-editor/e-contact-quick-add.c4
1 files changed, 2 insertions, 2 deletions
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;
}