diff options
author | Damon Chaplin <damon@ximian.com> | 2001-07-24 09:15:31 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-07-24 09:15:31 +0800 |
commit | 13c216222767075e4c4bfd77b025f7535923f344 (patch) | |
tree | 3e0aeaf83bd2636fbfa4f34b55ac3b34ae42e93d /calendar/gui | |
parent | 5ef14553c1129aaaf1691c14219a5bcce29bf64f (diff) | |
download | gsoc2013-evolution-13c216222767075e4c4bfd77b025f7535923f344.tar gsoc2013-evolution-13c216222767075e4c4bfd77b025f7535923f344.tar.gz gsoc2013-evolution-13c216222767075e4c4bfd77b025f7535923f344.tar.bz2 gsoc2013-evolution-13c216222767075e4c4bfd77b025f7535923f344.tar.lz gsoc2013-evolution-13c216222767075e4c4bfd77b025f7535923f344.tar.xz gsoc2013-evolution-13c216222767075e4c4bfd77b025f7535923f344.tar.zst gsoc2013-evolution-13c216222767075e4c4bfd77b025f7535923f344.zip |
fixed the test to see whether we should draw the icons.
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.
svn path=/trunk/; revision=11330
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/e-week-view-event-item.c | 6 |
1 files changed, 3 insertions, 3 deletions
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, |