From f954da0a50049423246a3ba666f4172db4839eea Mon Sep 17 00:00:00 2001 From: Sivaiah Nallagatla Date: Mon, 3 May 2004 05:46:20 +0000 Subject: see if the selected group is groupwise one and setup the relative uri and 2004-05-02 Sivaiah Nallagatla * gui/component/addressbook-config.c (dialog_to_source) : see if the selected group is groupwise one and setup the relative uri and other properties into e-source svn path=/trunk/; revision=25740 --- addressbook/gui/widgets/eab-gui-util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'addressbook/gui/widgets') diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c index eef9988ce3..d934942fea 100644 --- a/addressbook/gui/widgets/eab-gui-util.c +++ b/addressbook/gui/widgets/eab-gui-util.c @@ -470,7 +470,8 @@ eab_select_source (const gchar *title, const gchar *message, const gchar *select GtkWidget *scrolled_window; gint response; - source_list = addressbook_component_peek_source_list (addressbook_component_peek ()); + if (!e_book_get_addressbooks (&source_list, NULL)) + return NULL; dialog = gtk_dialog_new_with_buttons (title, parent, GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, -- cgit v1.2.3