aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-component.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2001-01-05 07:20:44 +0800
committerChris Lahey <clahey@src.gnome.org>2001-01-05 07:20:44 +0800
commit3596cc5df5ac3e995a61e68bf2d61053688dbf7e (patch)
treee3fe6f6ebedcc7d0cbc7a266e178f353979cab40 /addressbook/gui/component/addressbook-component.c
parent5ff5cd81532edda57a0793273fee0cdadef07dd9 (diff)
downloadgsoc2013-evolution-3596cc5df5ac3e995a61e68bf2d61053688dbf7e.tar
gsoc2013-evolution-3596cc5df5ac3e995a61e68bf2d61053688dbf7e.tar.gz
gsoc2013-evolution-3596cc5df5ac3e995a61e68bf2d61053688dbf7e.tar.bz2
gsoc2013-evolution-3596cc5df5ac3e995a61e68bf2d61053688dbf7e.tar.lz
gsoc2013-evolution-3596cc5df5ac3e995a61e68bf2d61053688dbf7e.tar.xz
gsoc2013-evolution-3596cc5df5ac3e995a61e68bf2d61053688dbf7e.tar.zst
gsoc2013-evolution-3596cc5df5ac3e995a61e68bf2d61053688dbf7e.zip
Added this function.
2001-01-04 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook-component.c, gui/component/addressbook-component.h (addressbook_component_get_shell_client): Added this function. * gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h: Added code for the ability to switch between different folders. This doesn't work yet. * gui/component/select-names/select-names.glade, gui/component/select-names/select-names.glade.h: Added an option menu to this dialog. svn path=/trunk/; revision=7262
Diffstat (limited to 'addressbook/gui/component/addressbook-component.c')
-rw-r--r--addressbook/gui/component/addressbook-component.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index 209c965e8d..934496418c 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -38,10 +38,14 @@
#define GNOME_EVOLUTION_ADDRESSBOOK_COMPONENT_FACTORY_ID "OAFIID:GNOME_Evolution_Addressbook_ShellComponentFactory"
-/* Nasty hack for filters to be able to find folders */
-/* Not even used with addressbook??? */
EvolutionShellClient *global_shell_client;
+EvolutionShellClient *
+addressbook_component_get_shell_client (void)
+{
+ return global_shell_client;
+}
+
static BonoboGenericFactory *factory = NULL;
static const EvolutionShellComponentFolderType folder_types[] = {