[evolution] Bug 706966 - [Month view] Repeat month name on each first week day



commit ad26c5bbca839677f495b8ae7575c00f45728040
Author: Milan Crha <mcrha redhat com>
Date:   Mon Sep 18 17:58:54 2017 +0200

    Bug 706966 - [Month view] Repeat month name on each first week day

 src/calendar/gui/e-week-view-main-item.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/calendar/gui/e-week-view-main-item.c b/src/calendar/gui/e-week-view-main-item.c
index ba6fffd..60f328a 100644
--- a/src/calendar/gui/e-week-view-main-item.c
+++ b/src/calendar/gui/e-week-view-main-item.c
@@ -187,7 +187,7 @@ week_view_main_item_draw_day (EWeekViewMainItem *main_item,
        if (!multi_week_view) {
                show_day_name = TRUE;
                show_month_name = TRUE;
-       } else if (day == 0 || day_of_month == 1) {
+       } else if ((day % 7) == 0 || day_of_month == 1) {
                show_month_name = TRUE;
        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]