aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-05-23 18:15:30 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-05-23 18:15:30 +0800
commitd00e525efc8be034cd2009100258680a62a87202 (patch)
tree7bd885b5dc38cc1ca530f400aa58943ef39a0211 /mail
parent84844abe322120292b1d2e0e8978046e1c550bfe (diff)
downloadgsoc2013-evolution-d00e525efc8be034cd2009100258680a62a87202.tar.gz
gsoc2013-evolution-d00e525efc8be034cd2009100258680a62a87202.tar.zst
gsoc2013-evolution-d00e525efc8be034cd2009100258680a62a87202.zip
Get rid of the old `evolution-service-repository' cruft and start
implementing new CORBA storage interfaces for the shell. svn path=/trunk/; revision=3178
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/Makefile.am1
-rw-r--r--mail/folder-browser-factory.c51
3 files changed, 8 insertions, 52 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index d167dbc7b2..d795771850 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+2000-05-23 Ettore Perazzoli <ettore@helixcode.com>
+
+ * Makefile.am: Don't link to `evolution-service-repository.o'
+ anymore.
+
+ * folder-browser-factory.c: Don't use crufty service-repository
+ anymore.
+
2000-05-21 Ettore Perazzoli <ettore@helixcode.com>
* message-list.c (get_message_info): Made static.
diff --git a/mail/Makefile.am b/mail/Makefile.am
index 700fb60eb6..1fdb0d3e73 100644
--- a/mail/Makefile.am
+++ b/mail/Makefile.am
@@ -51,7 +51,6 @@ evolution_mail_LDADD = \
../shell/Evolution-common.o \
../shell/Evolution-stubs.o \
../shell/Evolution-skels.o \
- ../shell/evolution-service-repository.o \
../composer/libcomposer.la \
../widgets/e-table/libetable.a \
../widgets/e-text/libetext.a \
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c
index e46e51df52..de9d9ff06e 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -18,7 +18,6 @@
#include "folder-browser.h"
#include "mail.h"
#include "shell/Evolution.h"
-#include "shell/evolution-service-repository.h"
#ifdef USING_OAF
#define CONTROL_FACTORY_ID "OAFIID:control-factory:evolution-mail:25902062-543b-4f44-8702-d90145fcdbf2"
@@ -27,49 +26,6 @@
#endif
static void
-folder_browser_set_shell (EvolutionServiceRepository *sr,
- Evolution_Shell shell,
- void *closure)
-{
- FolderBrowser *folder_browser;
- CORBA_Environment ev;
-
- g_return_if_fail (closure);
- g_return_if_fail (IS_FOLDER_BROWSER (closure));
- g_return_if_fail (shell != CORBA_OBJECT_NIL);
-
- CORBA_exception_init (&ev);
-
- folder_browser = FOLDER_BROWSER (closure);
-
- folder_browser->shell = shell;
-
- /* test the component->shell registration */
- Evolution_Shell_register_service (shell, Evolution_Shell_MAIL_STORE, "a_service", &ev);
-
- CORBA_exception_free (&ev);
-}
-
-static void
-folder_browser_control_add_service_repository_interface (BonoboControl *control,
- GtkWidget *folder_browser)
-{
- EvolutionServiceRepository *sr;
-
- /*
- * create an implementation for the Evolution::ServiceRepository
- * interface
- */
- sr = evolution_service_repository_new (folder_browser_set_shell,
- (void *)folder_browser);
-
- /* add the interface to the control */
- bonobo_object_add_interface (BONOBO_OBJECT (control),
- BONOBO_OBJECT (sr));
-}
-
-
-static void
random_cb (GtkWidget *button, gpointer user_data)
{
printf ("Yow! I am called back!\n");
@@ -204,13 +160,6 @@ folder_browser_factory (BonoboGenericFactory *factory, void *closure)
bonobo_control_set_property_bag (control,
FOLDER_BROWSER (folder_browser)->properties);
- /* for the moment, the control has the ability to register
- * some services itself, but this should not last.
- *
- * It's not the way to do it, but we don't have the
- * correct infrastructure in the shell now.
- */
- folder_browser_control_add_service_repository_interface (control, folder_browser);
return BONOBO_OBJECT (control);
}
td>2007-02-073-4/+11 * From the "who gave this guy a commit bit" dept.:lofi2007-02-061-1/+0 * Post-import bugfixorama:lofi2007-02-061-0/+1 * Hay, portmgr was here!lofi2007-02-061-5/+0 * Add qt4, a multiplatform C++ application frameworklofi2007-02-065-0/+824 * Update to 3.3.7lofi2007-02-054-147/+11 * - Fix whommiwi2007-02-052-2/+2 * This is Tk version 8.5, a GUI toolkit for Tcl.miwi2007-02-0519-0/+1649 * - Move to LOCALBASEtmclaugh2007-02-051-7/+4 * s/INSTALLS_SHLIB/USE_LDCONFIG/tmclaugh2007-02-053-3/+3 * Add gnome-sharp20tmclaugh2007-02-0510-0/+256 * - Move to LOCALBASEtmclaugh2007-02-052-7/+5 * - Update to 2.10.0tmclaugh2007-02-0510-347/+82 * - Update to 1.2.2tmclaugh2007-02-052-7/+12 * - Update to 2.0.5642rafan2007-02-042-4/+4 * - Update to 0.43erwin2007-02-042-11/+5 * - Updated to 1.9.12nivit2007-02-043-74/+94 * - Remove references to XFree86 3.Xpav2007-02-031-4/+0 * - Remove support for xfree86-3pav2007-02-034-9/+3 * - Update to 1.142clsung2007-02-022-4/+4 * - Convert to USE_LDCONFIGpav2007-02-011-3/+1 * Correct typos plus cosmetic chenges in Makefile.demon2007-02-012-10/+19 * Use libtool port instead of included version to avoid objformat a.out botchkris2007-02-0123-1/+28 * - add category gnustepdinoex2007-02-014-4/+4 * - Clean up lib/X11/config on package deinstall. This was masked in port builds,pav2007-01-312-1/+2 * - Update to 1.72pav2007-01-313-5/+24 * Update to 0.14.2.mezz2007-01-302-4/+4 * Update to 2.16.3.mezz2007-01-302-4/+4 * Update to 1.14.10.mezz2007-01-302-4/+4 * - Remove support for a.out format and PORTOBJFORMAT variable from individualpav2007-01-303-90/+45 * Retire NO_FILTER_SHLIBS now that it no longer serves a purposekris2007-01-304-4/+0 * Retire obsolete a.out shared library supportkris2007-01-303-4/+4 * enhance the descriptionoliver2007-01-291-2/+2 * Update to 2.10.7.mezz2007-01-292-4/+4 * - Update to 5.0.0miwi2007-01-2912-2547/+2901 * - Fix build with gcc 4.1.sem2007-01-282-0/+24 * Update to 2.10.9.mezz2007-01-246-52/+10 * - Update to 2.2.2sat2007-01-232-4/+4 * Import xfce 4.4oliver2007-01-234-48/+44 * - Pass maintainership to submittermiwi2007-01-221-1/+1