aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/tasks-component.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-04-14 13:40:01 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-04-14 13:40:01 +0800
commit87141d1b51df4638cac9d48f3753748e09203585 (patch)
tree0a639d8b15ed3e3f0361ae7cd677ffe581e4543f /calendar/gui/tasks-component.c
parent5d08589cf117cab194e0d06648567b427627f481 (diff)
downloadgsoc2013-evolution-87141d1b51df4638cac9d48f3753748e09203585.tar
gsoc2013-evolution-87141d1b51df4638cac9d48f3753748e09203585.tar.gz
gsoc2013-evolution-87141d1b51df4638cac9d48f3753748e09203585.tar.bz2
gsoc2013-evolution-87141d1b51df4638cac9d48f3753748e09203585.tar.lz
gsoc2013-evolution-87141d1b51df4638cac9d48f3753748e09203585.tar.xz
gsoc2013-evolution-87141d1b51df4638cac9d48f3753748e09203585.tar.zst
gsoc2013-evolution-87141d1b51df4638cac9d48f3753748e09203585.zip
Same as below for the tasks component.
2004-04-14 Not Zed <NotZed@Ximian.com> * gui/tasks-component.c (impl_createControls): Same as below for the tasks component. * gui/calendar-component.c (impl_createControls): add the info area label widget to the sidebar control (c&p the addressbook code). svn path=/trunk/; revision=25451
Diffstat (limited to 'calendar/gui/tasks-component.c')
-rw-r--r--calendar/gui/tasks-component.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c
index 12383124f4..b577bae97c 100644
--- a/calendar/gui/tasks-component.c
+++ b/calendar/gui/tasks-component.c
@@ -45,6 +45,7 @@
#include "dialogs/copy-source-dialog.h"
#include "dialogs/task-editor.h"
#include "widgets/misc/e-source-selector.h"
+#include "widgets/misc/e-info-label.h"
#define CREATE_TASK_ID "task"
@@ -477,7 +478,7 @@ impl_createControls (PortableServer_Servant servant,
{
TasksComponent *component = TASKS_COMPONENT (bonobo_object_from_servant (servant));
TasksComponentPrivate *priv;
- GtkWidget *selector_scrolled_window, *statusbar_widget;
+ GtkWidget *selector_scrolled_window, *statusbar_widget, *vbox, *info;
BonoboControl *sidebar_control, *statusbar_control;
guint not;
@@ -495,7 +496,16 @@ impl_createControls (PortableServer_Servant servant,
GTK_SHADOW_IN);
gtk_widget_show (selector_scrolled_window);
- sidebar_control = bonobo_control_new (selector_scrolled_window);
+ info = e_info_label_new("evolution-tasks-mini.png");
+ e_info_label_set_info((EInfoLabel *)info, _("Tasks"), "");
+ gtk_widget_show (info);
+
+ vbox = gtk_vbox_new(FALSE, 0);
+ gtk_box_pack_start(GTK_BOX (vbox), info, FALSE, TRUE, 0);
+ gtk_box_pack_start(GTK_BOX (vbox), selector_scrolled_window, TRUE, TRUE, 0);
+ gtk_widget_show (vbox);
+
+ sidebar_control = bonobo_control_new (vbox);
/* create the tasks view */
priv->view_control = tasks_control_new ();