aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify/alarm-queue.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2005-04-02 02:31:18 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2005-04-02 02:31:18 +0800
commit156a9657910c830f4439d1b1f750f605b7a56e4a (patch)
tree1709a715b56544493ac22f4ed8084f9513e38280 /calendar/gui/alarm-notify/alarm-queue.c
parent794cee91015ee7c9f935c2325a355a4e724047e8 (diff)
downloadgsoc2013-evolution-156a9657910c830f4439d1b1f750f605b7a56e4a.tar
gsoc2013-evolution-156a9657910c830f4439d1b1f750f605b7a56e4a.tar.gz
gsoc2013-evolution-156a9657910c830f4439d1b1f750f605b7a56e4a.tar.bz2
gsoc2013-evolution-156a9657910c830f4439d1b1f750f605b7a56e4a.tar.lz
gsoc2013-evolution-156a9657910c830f4439d1b1f750f605b7a56e4a.tar.xz
gsoc2013-evolution-156a9657910c830f4439d1b1f750f605b7a56e4a.tar.zst
gsoc2013-evolution-156a9657910c830f4439d1b1f750f605b7a56e4a.zip
Fixes #41740
2005-04-01 Rodrigo Moya <rodrigo@novell.com> 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
Diffstat (limited to 'calendar/gui/alarm-notify/alarm-queue.c')
-rw-r--r--calendar/gui/alarm-notify/alarm-queue.c5
1 files changed, 3 insertions, 2 deletions
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);