aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-itip-control.c
diff options
context:
space:
mode:
authorMichael Meeks <michael@helixcode.com>2000-12-05 01:56:54 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2000-12-05 01:56:54 +0800
commit042e514a262c922d258ca8f0557500199f7088d9 (patch)
treef985a0aee46d4c6ff8bc42c2ef3958eba4024c6b /calendar/gui/e-itip-control.c
parent0d0f668cecd72010ef87c08829b26abd83e3a252 (diff)
downloadgsoc2013-evolution-042e514a262c922d258ca8f0557500199f7088d9.tar
gsoc2013-evolution-042e514a262c922d258ca8f0557500199f7088d9.tar.gz
gsoc2013-evolution-042e514a262c922d258ca8f0557500199f7088d9.tar.bz2
gsoc2013-evolution-042e514a262c922d258ca8f0557500199f7088d9.tar.lz
gsoc2013-evolution-042e514a262c922d258ca8f0557500199f7088d9.tar.xz
gsoc2013-evolution-042e514a262c922d258ca8f0557500199f7088d9.tar.zst
gsoc2013-evolution-042e514a262c922d258ca8f0557500199f7088d9.zip
return NULL if we can't create a view.
2000-12-04 Michael Meeks <michael@helixcode.com> * e-shell-view.c (get_control_for_uri): return NULL if we can't create a view. (setup_evolution_shell_view_interface): add precondition. + lots of cleans. svn path=/trunk/; revision=6778
Diffstat (limited to 'calendar/gui/e-itip-control.c')
-rw-r--r--calendar/gui/e-itip-control.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c
index 476853c707..0d894ec2e8 100644
--- a/calendar/gui/e-itip-control.c
+++ b/calendar/gui/e-itip-control.c
@@ -16,18 +16,18 @@
#include <ical.h>
#include <time.h>
#include <Evolution-Composer.h>
+#include <e-components.h>
#include "e-itip-control.h"
#include <cal-util/cal-component.h>
#include <cal-client/cal-client.h>
#include "itip-utils.h"
+#define MAIL_COMPOSER_OAF_IID "OAFIID:GNOME_Evolution_Mail_Composer"
#define DEFAULT_WIDTH 400
#define DEFAULT_HEIGHT 300
-#define COMPOSER_OAFID "OAFIID:evolution-composer:evolution-mail:cd8618ea-53e1-4b9e-88cf-ec578bdb903b"
-
extern gchar *evolution_dir;
typedef struct _EItipControlPrivate EItipControlPrivate;
@@ -231,7 +231,7 @@ send_itip_reply (EItipControlPrivate *priv)
CORBA_exception_init (&ev);
/* First, I obtain an object reference that represents the Composer. */
- bonobo_server = bonobo_object_activate (COMPOSER_OAFID, 0);
+ bonobo_server = bonobo_object_activate (MAIL_COMPOSER_OAF_IID, 0);
g_return_if_fail (bonobo_server != NULL);
@@ -1044,10 +1044,9 @@ e_itip_control_factory_init (void)
if (factory != NULL)
return;
- factory =
- bonobo_generic_factory_new (
- "OAFIID:control-factory:e_itipview:10441fcf-9a4f-4bf9-a026-d50b5462d45a",
- e_itip_control_factory, NULL);
+ factory = bonobo_generic_factory_new (
+ "OAFIID:GNOME_Evolution_Calendar_iTip_ControlFactory",
+ e_itip_control_factory, NULL);
if (factory == NULL)
g_error ("I could not register an iTip control factory.");