aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/e-select-names-manager.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-03-31 23:43:49 +0800
committerDan Winship <danw@src.gnome.org>2003-03-31 23:43:49 +0800
commitcb8fd3a3304144f2d6c6c9842d00af6ac9ec3910 (patch)
tree9d4d2308e6ce6c09cc8fb88cda01f279e51b2727 /addressbook/gui/component/select-names/e-select-names-manager.c
parent80842c9583426f103fd40e73f6fc9ab20631e5cf (diff)
downloadgsoc2013-evolution-cb8fd3a3304144f2d6c6c9842d00af6ac9ec3910.tar
gsoc2013-evolution-cb8fd3a3304144f2d6c6c9842d00af6ac9ec3910.tar.gz
gsoc2013-evolution-cb8fd3a3304144f2d6c6c9842d00af6ac9ec3910.tar.bz2
gsoc2013-evolution-cb8fd3a3304144f2d6c6c9842d00af6ac9ec3910.tar.lz
gsoc2013-evolution-cb8fd3a3304144f2d6c6c9842d00af6ac9ec3910.tar.xz
gsoc2013-evolution-cb8fd3a3304144f2d6c6c9842d00af6ac9ec3910.tar.zst
gsoc2013-evolution-cb8fd3a3304144f2d6c6c9842d00af6ac9ec3910.zip
Remove folder-selector button initialization. (e_select_names_new):
* gui/component/select-names/e-select-names.c (e_select_names_init): Remove folder-selector button initialization. (e_select_names_new): Initialize folder-selector button here, using the passed-in EvolutionShellClient rather than depending on a global variable. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_activate_dialog): take an EvolutionShellClient and pass it to e_select_names_new(). * gui/component/select-names/e-select-names-bonobo.c (impl_SelectNames_activate_dialog): get a pointer to the shell from bonobo-activation, create a shell_client, and pass it to e_select_names_manager_activate_dialog. svn path=/trunk/; revision=20597
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names-manager.c')
-rw-r--r--addressbook/gui/component/select-names/e-select-names-manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names-manager.c b/addressbook/gui/component/select-names/e-select-names-manager.c
index 98e1ff5a2c..b53cf924f2 100644
--- a/addressbook/gui/component/select-names/e-select-names-manager.c
+++ b/addressbook/gui/component/select-names/e-select-names-manager.c
@@ -476,9 +476,8 @@ db_listener (EConfigListener *db, const char *key,
/**
* e_select_names_manager_new:
- * @VCard: a string in vCard format
*
- * Returns: a new #ESelectNamesManager that wraps the @VCard.
+ * Returns: a new #ESelectNamesManager
*/
ESelectNamesManager *
e_select_names_manager_new (void)
@@ -605,6 +604,7 @@ clear_widget (gpointer data, GObject *where_object_was)
void
e_select_names_manager_activate_dialog (ESelectNamesManager *manager,
+ EvolutionShellClient *shell_client,
const char *id)
{
g_return_if_fail (E_IS_SELECT_NAMES_MANAGER (manager));
@@ -621,7 +621,7 @@ e_select_names_manager_activate_dialog (ESelectNamesManager *manager,
GList *iter;
- manager->names = E_SELECT_NAMES (e_select_names_new ());
+ manager->names = E_SELECT_NAMES (e_select_names_new (shell_client));
for (iter = manager->sections; iter != NULL; iter = g_list_next (iter)) {
ESelectNamesManagerSection *section = iter->data;