From 13c216222767075e4c4bfd77b025f7535923f344 Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Tue, 24 Jul 2001 01:15:31 +0000 Subject: fixed the test to see whether we should draw the icons. 2001-07-21 Damon Chaplin * gui/e-week-view-event-item.c (e_week_view_event_item_draw): fixed the test to see whether we should draw the icons. svn path=/trunk/; revision=11330 --- calendar/ChangeLog | 5 +++++ calendar/gui/e-week-view-event-item.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index fd0ca261b9..dde15e6a39 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2001-07-21 Damon Chaplin + + * gui/e-week-view-event-item.c (e_week_view_event_item_draw): fixed + the test to see whether we should draw the icons. + 2001-07-22 Ettore Perazzoli * gui/component-factory.c (get_local_file_name_for_folder_type): diff --git a/calendar/gui/e-week-view-event-item.c b/calendar/gui/e-week-view-event-item.c index a31b6e3ae6..e6e8a0e2b4 100644 --- a/calendar/gui/e-week-view-event-item.c +++ b/calendar/gui/e-week-view-event-item.c @@ -461,9 +461,9 @@ e_week_view_event_item_draw (GnomeCanvasItem *canvas_item, } /* Draw the icons. */ - if (span->text_item && - week_view->editing_event_num != wveitem->event_num - && week_view->editing_span_num != wveitem->span_num) { + if (span->text_item + && (week_view->editing_event_num != wveitem->event_num + || week_view->editing_span_num != wveitem->span_num)) { icon_x = span->text_item->x1 - x; e_week_view_event_item_draw_icons (wveitem, drawable, icon_x, icon_y, -- cgit