diff options
-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; + } } - - |