aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-week-view-event-item.c6
2 files changed, 8 insertions, 3 deletions
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 <damon@ximian.com>
+
+ * 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 <ettore@ximian.com>
* 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,