diff options
author | Rodrigo Moya <rodrigo@novell.com> | 2005-04-02 02:31:18 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2005-04-02 02:31:18 +0800 |
commit | 156a9657910c830f4439d1b1f750f605b7a56e4a (patch) | |
tree | 1709a715b56544493ac22f4ed8084f9513e38280 /calendar/gui | |
parent | 794cee91015ee7c9f935c2325a355a4e724047e8 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | calendar/gui/alarm-notify/Makefile.am | 1 | ||||
-rw-r--r-- | calendar/gui/alarm-notify/alarm-queue.c | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/calendar/gui/alarm-notify/Makefile.am b/calendar/gui/alarm-notify/Makefile.am index ffe95557ec..2040efcc94 100644 --- a/calendar/gui/alarm-notify/Makefile.am +++ b/calendar/gui/alarm-notify/Makefile.am @@ -49,6 +49,7 @@ evolution_alarm_notify_SOURCES = \ evolution_alarm_notify_LDADD = \ $(top_builddir)/e-util/libeutil.la \ + $(top_builddir)/widgets/misc/libemiscwidgets.la \ $(top_builddir)/calendar/common/libevolution-calendarprivate.la \ $(EVOLUTION_CALENDAR_LIBS) 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); |