[california] Display month name on first of month in month view: Bug #732037
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [california] Display month name on first of month in month view: Bug #732037
- Date: Wed, 23 Jul 2014 22:23:40 +0000 (UTC)
commit 5548415c34a64acf69c153d75613f041f2761f98
Author: Jim Nelson <jim yorba org>
Date: Wed Jul 23 15:23:10 2014 -0700
Display month name on first of month in month view: Bug #732037
src/view/month/month-cell.vala | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/view/month/month-cell.vala b/src/view/month/month-cell.vala
index ef76d81..67a3c2e 100644
--- a/src/view/month/month-cell.vala
+++ b/src/view/month/month-cell.vala
@@ -72,7 +72,10 @@ internal class Cell : Common.EventsCell {
}
private void update_top_line() {
- top_line_text = date.day_of_month.informal_number;
+ // include abbreviate month name on first of the month
+ top_line_text = (date.day_of_month.value == 1)
+ ? "%s %s".printf(date.month.abbrev_name, date.day_of_month.informal_number)
+ : date.day_of_month.informal_number;
top_line_rgba = (date in owner.month_of_year)
? palette.day_in_range
: palette.day_outside_range;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]