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 | |
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')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/e-week-view-event-item.c | 6 |
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, |