From 156a9657910c830f4439d1b1f750f605b7a56e4a Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Fri, 1 Apr 2005 18:31:18 +0000 Subject: Fixes #41740 2005-04-01 Rodrigo Moya Fixes #41740 * gui/calendar-errors.xml: * gui/calendar-errors.xml.h: added editor error. * gui/alarm-notify/alarm-queue.c (edit_component): display error messages when we can't load the component in the editor. * gui/alarm-notify/Makefile.am: linked against libemiscwidgets.la. svn path=/trunk/; revision=29148 --- calendar/gui/alarm-notify/alarm-queue.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'calendar/gui/alarm-notify/alarm-queue.c') diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c index e8797639a6..9fc55e5869 100644 --- a/calendar/gui/alarm-notify/alarm-queue.c +++ b/calendar/gui/alarm-notify/alarm-queue.c @@ -52,6 +52,7 @@ #include "config-data.h" #include "util.h" #include "e-util/e-popup.h" +#include "widgets/misc/e-error.h" @@ -683,7 +684,7 @@ edit_component (ECal *client, ECalComponent *comp) 0, NULL, &ev); if (BONOBO_EX (&ev)) { - g_message (G_STRLOC ": Could not activate the component editor factory"); + e_error_run (NULL, "editor-error", bonobo_exception_get_text (&ev)); CORBA_exception_free (&ev); return; } @@ -700,7 +701,7 @@ edit_component (ECal *client, ECalComponent *comp) GNOME_Evolution_Calendar_CompEditorFactory_editExisting (factory, uri, (char *) uid, corba_type, &ev); if (BONOBO_EX (&ev)) - g_message (G_STRLOC ": Exception while editing the component"); + e_error_run (NULL, "editor-error", bonobo_exception_get_text (&ev)); CORBA_exception_free (&ev); -- cgit v1.2.3