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/gui/tasks-control-factory.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'calendar/gui/tasks-control-factory.c') 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