aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-03-14 00:59:34 +0800
committerChris Lahey <clahey@src.gnome.org>2000-03-14 00:59:34 +0800
commitf59d7438e2498b9a7dcaf3d95e403069338ca0e2 (patch)
tree9c540a5ea870e15c44981b59d4e211d22b5cc356 /shell/e-shell-view.c
parent2e19c1630acc12875081163e20ddd9538dafd741 (diff)
downloadgsoc2013-evolution-f59d7438e2498b9a7dcaf3d95e403069338ca0e2.tar
gsoc2013-evolution-f59d7438e2498b9a7dcaf3d95e403069338ca0e2.tar.gz
gsoc2013-evolution-f59d7438e2498b9a7dcaf3d95e403069338ca0e2.tar.bz2
gsoc2013-evolution-f59d7438e2498b9a7dcaf3d95e403069338ca0e2.tar.lz
gsoc2013-evolution-f59d7438e2498b9a7dcaf3d95e403069338ca0e2.tar.xz
gsoc2013-evolution-f59d7438e2498b9a7dcaf3d95e403069338ca0e2.tar.zst
gsoc2013-evolution-f59d7438e2498b9a7dcaf3d95e403069338ca0e2.zip
Added an E_FOLDER_CONTACTS section to the get_view function.
2000-03-13 Christopher James Lahey <clahey@helixcode.com> * shell/e-shell-view.c: Added an E_FOLDER_CONTACTS section to the get_view function. * addressbook/demo/Makefile.am: Added files for addressbook bonobo component. Changed non bonobo version to compile as test-addressbook. * addressbook/demo/addressbook.c, addressbook/demo/addressbook.gnorba, addressbook/demo/addressbook.h, addressbook/demo/addressbook-factory.c, addressbook/demo/addressbook-widget.c, addressbook/demo/addressbook-widget.h: New factory to create an addressbook bonobo component. svn path=/trunk/; revision=2114
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r--shell/e-shell-view.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 0ea017c58e..99f2db44f0 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -120,6 +120,31 @@ get_view (EShellView *eshell_view, EFolder *efolder, Bonobo_UIHandler uih)
}
}
break;
+
+ case E_FOLDER_CONTACTS :
+ {
+#if 0
+ Evolution_ServiceRepository corba_sr;
+#endif
+
+ w = bonobo_widget_new_control ("control:addressbook",
+ uih);
+#if 0
+ server = bonobo_widget_get_server (BONOBO_WIDGET (w));
+
+ corba_sr = (Evolution_ServiceRepository)
+ bonobo_object_client_query_interface (server,
+ "IDL:Evolution/ServiceRepository:1.0",
+ NULL);
+ if (corba_sr != CORBA_OBJECT_NIL) {
+ Evolution_ServiceRepository_set_shell (corba_sr, corba_shell, &ev);
+ } else {
+ g_warning ("The bonobo component for the mail doesn't seem to implement the "
+ "Evolution::ServiceRepository interface\n");
+ }
+#endif
+ }
+ break;
default :
printf ("No bonobo component associated to %s\n",