aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/e-select-names-config.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-12-07 07:19:01 +0800
committerChris Toshok <toshok@src.gnome.org>2003-12-07 07:19:01 +0800
commit268185761bcdee059f5d3b52937ee3c5667b79e5 (patch)
tree216d48a6a918be7189be161451f52ba4e5205f59 /addressbook/gui/component/select-names/e-select-names-config.c
parent7c13868fae6c2ddc4aa3ab951929ec410e73f284 (diff)
downloadgsoc2013-evolution-268185761bcdee059f5d3b52937ee3c5667b79e5.tar
gsoc2013-evolution-268185761bcdee059f5d3b52937ee3c5667b79e5.tar.gz
gsoc2013-evolution-268185761bcdee059f5d3b52937ee3c5667b79e5.tar.bz2
gsoc2013-evolution-268185761bcdee059f5d3b52937ee3c5667b79e5.tar.lz
gsoc2013-evolution-268185761bcdee059f5d3b52937ee3c5667b79e5.tar.xz
gsoc2013-evolution-268185761bcdee059f5d3b52937ee3c5667b79e5.tar.zst
gsoc2013-evolution-268185761bcdee059f5d3b52937ee3c5667b79e5.zip
change prototype to fix warning, and change the comment to read
2003-12-06 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-manager.c (open_book_cb): change prototype to fix warning, and change the comment to read load_source instead of load_uri (which isn't what we use anymore.) (update_completion_books): just use our source list for this. check the "completion" source property. (source_list_changed): recreate the completion books. (e_select_names_manager_init): connect to the source_list's changed signal. (e_select_names_manager_dispose): don't need to free the completion_uids list anymore. * gui/component/select-names/e-select-names-config.c (e_select_names_config_get_completion_books, e_select_names_config_set_completion_books, e_select_names_config_add_notification_completion_books): remove. * gui/component/select-names/e-select-names-config.h: remove the completion books calls, since we can just use the source list. * gui/component/component-factory.c (factory): create the autocompletion control. * gui/component/autocompletion-config.[ch]: new config control for selecting completion folders. Uses e-source-selector. Could probably be beautified a bit. * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): add autocompletion-config.[ch] * gui/component/GNOME_Evolution_Addressbook.server.in.in: remove the ldap config control server, and add the autocompletion one. svn path=/trunk/; revision=23663
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names-config.c')
-rw-r--r--addressbook/gui/component/select-names/e-select-names-config.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names-config.c b/addressbook/gui/component/select-names/e-select-names-config.c
index 1792a8a061..8335ed7c3b 100644
--- a/addressbook/gui/component/select-names/e-select-names-config.c
+++ b/addressbook/gui/component/select-names/e-select-names-config.c
@@ -59,35 +59,6 @@ e_select_names_config_remove_notification (guint id)
gconf_client_notify_remove (config, id);
}
-/* The current list of completion books */
-GSList *
-e_select_names_config_get_completion_books (void)
-{
- e_select_names_config_init ();
-
- return gconf_client_get_list (config, SELECT_NAMES_CONFIG_COMPLETION_BOOKS, GCONF_VALUE_STRING, NULL);
-}
-
-void
-e_select_names_config_set_completion_books (GSList *selected)
-{
- e_select_names_config_init ();
-
- gconf_client_set_list (config, SELECT_NAMES_CONFIG_COMPLETION_BOOKS, GCONF_VALUE_STRING, selected, NULL);
-}
-
-guint
-e_select_names_config_add_notification_completion_books (GConfClientNotifyFunc func, gpointer data)
-{
- guint id;
-
- e_select_names_config_init ();
-
- id = gconf_client_notify_add (config, SELECT_NAMES_CONFIG_COMPLETION_BOOKS, func, data, NULL, NULL);
-
- return id;
-}
-
char *
e_select_names_config_get_last_completion_book (void)
{