aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/calendar-component.c11
-rw-r--r--calendar/gui/tasks-component.c11
2 files changed, 22 insertions, 0 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index 0968b9372f..53acafe853 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -509,6 +509,7 @@ static void
impl_createControls (PortableServer_Servant servant,
Bonobo_Control *corba_sidebar_control,
Bonobo_Control *corba_view_control,
+ Bonobo_Control *corba_statusbar_control,
CORBA_Environment *ev)
{
CalendarComponent *calendar_component = CALENDAR_COMPONENT (bonobo_object_from_servant (servant));
@@ -576,6 +577,16 @@ impl_createControls (PortableServer_Servant servant,
/* Return the controls */
*corba_sidebar_control = CORBA_Object_duplicate (BONOBO_OBJREF (sidebar_control), ev);
*corba_view_control = CORBA_Object_duplicate (BONOBO_OBJREF (view_control), ev);
+
+ /* FIXME temporary for testing. */
+ {
+ GtkWidget *label = gtk_label_new ("Hey hey this is the calendar");
+ BonoboControl *control;
+
+ gtk_widget_show (label);
+ control = bonobo_control_new (label);
+ *corba_statusbar_control = CORBA_Object_duplicate (BONOBO_OBJREF (control), ev);
+ }
}
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c
index 0045c66848..9b29767396 100644
--- a/calendar/gui/tasks-component.c
+++ b/calendar/gui/tasks-component.c
@@ -473,6 +473,7 @@ static void
impl_createControls (PortableServer_Servant servant,
Bonobo_Control *corba_sidebar_control,
Bonobo_Control *corba_view_control,
+ Bonobo_Control *corba_statusbar_control,
CORBA_Environment *ev)
{
TasksComponent *component = TASKS_COMPONENT (bonobo_object_from_servant (servant));
@@ -536,6 +537,16 @@ impl_createControls (PortableServer_Servant servant,
/* Return the controls */
*corba_sidebar_control = CORBA_Object_duplicate (BONOBO_OBJREF (sidebar_control), ev);
*corba_view_control = CORBA_Object_duplicate (BONOBO_OBJREF (view_control), ev);
+
+ /* FIXME temporary for testing. */
+ {
+ GtkLabel *label = gtk_label_new ("Hey hey this is the tasks component");
+ BonoboControl *control;
+
+ gtk_widget_show (label);
+ control = bonobo_control_new (label);
+ *corba_statusbar_control = CORBA_Object_duplicate (BONOBO_OBJREF (control), ev);
+ }
}
static GNOME_Evolution_CreatableItemTypeList *