[evolution/account-mgmt: 7/25] Adapt EContactListEditor to the new ESource API.



commit a91898a4266a64a3146c69af35e9a73b46c4f363
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Dec 8 00:16:45 2010 -0500

    Adapt EContactListEditor to the new ESource API.

 .../contact-list-editor/e-contact-list-editor.c    |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
index 7c5d9a9..c553af4 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
@@ -872,10 +872,7 @@ contact_list_editor_fudge_new (EBook *book,
 static void
 setup_custom_widgets (EContactListEditor *editor)
 {
-	const gchar *key = "/apps/evolution/addressbook/sources";
 	GtkWidget *combo_box;
-	GConfClient *client;
-	ESourceList *source_list;
 	ENameSelectorEntry *name_selector_entry;
 	ENameSelector *name_selector;
 	GtkWidget *old, *parent;
@@ -887,11 +884,6 @@ setup_custom_widgets (EContactListEditor *editor)
 	priv = E_CONTACT_LIST_EDITOR_GET_PRIVATE (editor);
 
 	combo_box = WIDGET (SOURCE_MENU);
-	client = gconf_client_get_default ();
-	source_list = e_source_list_new_for_gconf (client, key);
-	g_object_set (G_OBJECT (combo_box), "source-list", source_list, NULL);
-	g_object_unref (source_list);
-	g_object_unref (client);
 
 	g_signal_connect (
 		combo_box, "changed", G_CALLBACK (



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]