From 93c01a6835f973afefba9de36823951717a868ed Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Mon, 22 Oct 2001 23:48:13 +0000 Subject: Put up a warning dialog box if we failed to create the tasks control. 2001-10-22 Federico Mena Quintero * 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 --- calendar/ChangeLog | 6 ++++++ 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 + + * 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 * 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 +#include +#include +#include #include #include #include - -#include - #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; + } } - - -- cgit v1.2.3