diff options
author | Dan Winship <danw@src.gnome.org> | 2003-03-31 23:43:49 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-03-31 23:43:49 +0800 |
commit | cb8fd3a3304144f2d6c6c9842d00af6ac9ec3910 (patch) | |
tree | 9d4d2308e6ce6c09cc8fb88cda01f279e51b2727 /addressbook/gui/component/select-names/e-select-names.h | |
parent | 80842c9583426f103fd40e73f6fc9ab20631e5cf (diff) | |
download | gsoc2013-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.h')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names.h b/addressbook/gui/component/select-names/e-select-names.h index 609aa00f01..8e672da92a 100644 --- a/addressbook/gui/component/select-names/e-select-names.h +++ b/addressbook/gui/component/select-names/e-select-names.h @@ -27,10 +27,10 @@ #include <gal/e-table/e-table.h> #include <gal/e-table/e-table-scrolled.h> -#include <addressbook/gui/widgets/e-addressbook-model.h> +#include "evolution-shell-client.h" +#include "e-addressbook-model.h" #include "e-select-names-model.h" -#include "e-util/e-list.h" #ifdef __cplusplus extern "C" { @@ -85,15 +85,15 @@ struct _ESelectNamesClass }; -GtkWidget *e_select_names_new (void); +GtkWidget *e_select_names_new (EvolutionShellClient *shell_client); GType e_select_names_get_type (void); -void e_select_names_add_section (ESelectNames *e_select_names, - char *name, - char *id, - ESelectNamesModel *source); -void e_select_names_set_default (ESelectNames *e_select_names, - const char *id); +void e_select_names_add_section (ESelectNames *e_select_names, + const char *name, + const char *id, + ESelectNamesModel *source); +void e_select_names_set_default (ESelectNames *e_select_names, + const char *id); #ifdef __cplusplus } |