[evolution] Bug 587476 - Hide appointment icons in the Month view
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 587476 - Hide appointment icons in the Month view
- Date: Mon, 15 Jun 2015 17:11:36 +0000 (UTC)
commit 6016826ddcd632f5f6860ebbec55f59fa8706ccc
Author: Milan Crha <mcrha redhat com>
Date: Mon Jun 15 19:10:46 2015 +0200
Bug 587476 - Hide appointment icons in the Month view
calendar/gui/e-week-view-event-item.c | 3 +++
calendar/gui/e-week-view.c | 2 ++
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/calendar/gui/e-week-view-event-item.c b/calendar/gui/e-week-view-event-item.c
index f94081f..6a64484 100644
--- a/calendar/gui/e-week-view-event-item.c
+++ b/calendar/gui/e-week-view-event-item.c
@@ -446,6 +446,9 @@ week_view_event_item_draw_icons (EWeekViewEventItem *event_item,
parent = gtk_widget_get_parent (GTK_WIDGET (canvas));
week_view = E_WEEK_VIEW (parent);
+ if (e_week_view_get_multi_week_view (week_view))
+ return;
+
if (!is_array_index_in_bounds (week_view->events, event_item->priv->event_num))
return;
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index 18b4112..d170226 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -3590,6 +3590,8 @@ e_week_view_reshape_event_span (EWeekView *week_view,
&& week_view->editing_span_num == span_num) {
show_icons = FALSE;
use_max_width = TRUE;
+ } else if (e_week_view_get_multi_week_view (week_view)) {
+ show_icons = FALSE;
}
/* Calculate how many icons we need to show. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]