diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-10-23 07:48:13 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-10-23 07:48:13 +0800 |
commit | 93c01a6835f973afefba9de36823951717a868ed (patch) | |
tree | f3925f9b8f99b659fec9e23677dc4a2cd2042290 /calendar | |
parent | f59604582dc64d50c7b6974aa4322863da594483 (diff) | |
download | gsoc2013-evolution-93c01a6835f973afefba9de36823951717a868ed.tar gsoc2013-evolution-93c01a6835f973afefba9de36823951717a868ed.tar.gz gsoc2013-evolution-93c01a6835f973afefba9de36823951717a868ed.tar.bz2 gsoc2013-evolution-93c01a6835f973afefba9de36823951717a868ed.tar.lz gsoc2013-evolution-93c01a6835f973afefba9de36823951717a868ed.tar.xz gsoc2013-evolution-93c01a6835f973afefba9de36823951717a868ed.tar.zst gsoc2013-evolution-93c01a6835f973afefba9de36823951717a868ed.zip |
Put up a warning dialog box if we failed to create the tasks control.
2001-10-22 Federico Mena Quintero <federico@ximian.com>
* gui/tasks-control-factory.c (tasks_control_factory_fn): Put up a
warning dialog box if we failed to create the tasks control.
Fixes bug #13033.
svn path=/trunk/; revision=13917
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/tasks-control-factory.c | 13 |
2 files changed, 13 insertions, 6 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 14f84208dc..abd0b9cff0 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2001-10-22 Federico Mena Quintero <federico@ximian.com> + + * gui/tasks-control-factory.c (tasks_control_factory_fn): Put up a + warning dialog box if we failed to create the tasks control. + Fixes bug #13033. + 2001-10-22 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (set_date_label): write out the correct diff --git a/calendar/gui/tasks-control-factory.c b/calendar/gui/tasks-control-factory.c index 7435fbe740..78f44f57ff 100644 --- a/calendar/gui/tasks-control-factory.c +++ b/calendar/gui/tasks-control-factory.c @@ -23,12 +23,12 @@ */ #include <config.h> +#include <libgnomeui/gnome-dialog.h> +#include <libgnomeui/gnome-dialog-util.h> +#include <liboaf/liboaf.h> #include <bonobo/bonobo-control.h> #include <bonobo/bonobo-generic-factory.h> #include <bonobo/bonobo-context.h> - -#include <liboaf/liboaf.h> - #include "tasks-control-factory.h" #include "tasks-control.h" @@ -72,8 +72,9 @@ tasks_control_factory_fn (BonoboGenericFactory *Factory, if (control) return BONOBO_OBJECT (control); - else + else { + gnome_warning_dialog (_("Could not create the tasks view. Please check your " + "ORBit and OAF setup.")); return NULL; + } } - - |