aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view.c
diff options
context:
space:
mode:
authorHiroyuki Ikezoe <poincare@ikezoe.net>2007-08-27 08:04:51 +0800
committerHiroyuki Ikezoe <hiikezoe@src.gnome.org>2007-08-27 08:04:51 +0800
commit3b4ea2c95eaccf15717826b9c3384484cb7107f1 (patch)
tree0260664c76364082b9f3096e9b87ee7d1748c60c /calendar/gui/e-week-view.c
parent7fcfa2bdbe657bceb8bdc1190c3f4c65bb0a4a85 (diff)
downloadgsoc2013-evolution-3b4ea2c95eaccf15717826b9c3384484cb7107f1.tar.gz
gsoc2013-evolution-3b4ea2c95eaccf15717826b9c3384484cb7107f1.tar.zst
gsoc2013-evolution-3b4ea2c95eaccf15717826b9c3384484cb7107f1.zip
** Fix for the same issue of week view of bug #330628
2007-08-27 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fix for the same issue of week view of bug #330628 * gui/e-week-view.h: Add meeting_icon. * gui/e-week-view.c: (e_week_view_realize): Load meeting_icon. * gui/e-week-view.c: (e_week_view_unrealize): Dispose meeting_icon. * gui/e-week-view-event-item.c: (e_week_view_event_item_draw_icons): Show meeting icon. svn path=/trunk/; revision=34106
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r--calendar/gui/e-week-view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index 78d60c5280..c5645959e3 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -691,6 +691,7 @@ e_week_view_realize (GtkWidget *widget)
week_view->recurrence_icon = e_icon_factory_get_icon ("stock_refresh", E_ICON_SIZE_MENU);
week_view->timezone_icon = e_icon_factory_get_icon ("stock_timezone", E_ICON_SIZE_MENU);
week_view->attach_icon = e_icon_factory_get_icon ("stock_attach", E_ICON_SIZE_MENU);
+ week_view->meeting_icon = e_icon_factory_get_icon ("stock_people", E_ICON_SIZE_MENU);
}
static void
@@ -731,6 +732,8 @@ e_week_view_unrealize (GtkWidget *widget)
week_view->timezone_icon = NULL;
g_object_unref (week_view->attach_icon);
week_view->attach_icon = NULL;
+ g_object_unref (week_view->meeting_icon);
+ week_view->meeting_icon = NULL;
if (GTK_WIDGET_CLASS (e_week_view_parent_class)->unrealize)
(*GTK_WIDGET_CLASS (e_week_view_parent_class)->unrealize)(widget);