aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/tasks-control.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-04-26 17:05:21 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-04-26 17:05:21 +0800
commit17e044f8258f1a1ed06acd2352a5890f962c3cc3 (patch)
tree958c97a3fa6496981efd96421ab971ae43507d5f /calendar/gui/tasks-control.c
parent13c5abb9db656476d29e15c4956bc2e8181e72b9 (diff)
downloadgsoc2013-evolution-17e044f8258f1a1ed06acd2352a5890f962c3cc3.tar.gz
gsoc2013-evolution-17e044f8258f1a1ed06acd2352a5890f962c3cc3.tar.zst
gsoc2013-evolution-17e044f8258f1a1ed06acd2352a5890f962c3cc3.zip
Committing patch from PR Suman to add icons missing in menu items.
svn path=/trunk/; revision=31902
Diffstat (limited to 'calendar/gui/tasks-control.c')
-rw-r--r--calendar/gui/tasks-control.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/calendar/gui/tasks-control.c b/calendar/gui/tasks-control.c
index 4d4a2a9f08..ec35373445 100644
--- a/calendar/gui/tasks-control.c
+++ b/calendar/gui/tasks-control.c
@@ -45,6 +45,7 @@
#include <bonobo/bonobo-ui-util.h>
#include <e-util/e-dialog-utils.h>
#include <e-util/e-print.h>
+#include "e-util/e-icon-factory.h"
#include <e-util/e-util-private.h>
#include "dialogs/cal-prefs-dialog.h"
#include "calendar-config.h"
@@ -255,6 +256,11 @@ static BonoboUIVerb verbs [] = {
BONOBO_UI_VERB_END
};
+static EPixmap pixmaps [] = {
+ E_PIXMAP ("/menu/ActionsPlaceholder/Actions/TasksForward", "stock_mail-forward", E_ICON_SIZE_MENU),
+
+ E_PIXMAP_END
+};
void
tasks_control_activate (BonoboControl *control, ETasks *tasks)
{
@@ -288,6 +294,8 @@ tasks_control_activate (BonoboControl *control, ETasks *tasks)
NULL);
g_free (xmlfile);
+ e_pixmaps_update (uic, pixmaps);
+
e_tasks_setup_view_menus (tasks, uic);
/* Signals from the tasks widget; also sensitize the menu items as appropriate */