[gnome-shell] calendar: fix title at shell startup
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] calendar: fix title at shell startup
- Date: Tue, 3 Mar 2015 00:24:25 +0000 (UTC)
commit f015f4574f696b630b6967ecf4d3c5a3d01a82f4
Author: Giovanni Campagna <scampa giovanni gmail com>
Date: Mon Mar 2 00:30:20 2015 -0800
calendar: fix title at shell startup
Make sure the message list section is set to the current date
when opening the menu, otherwise the calendar might skip
the selected-date-changed event (because the day did not change)
which would leave the message list with an uninitialized date.
https://bugzilla.gnome.org/show_bug.cgi?id=745412
js/ui/dateMenu.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js
index a36da31..4316006 100644
--- a/js/ui/dateMenu.js
+++ b/js/ui/dateMenu.js
@@ -365,6 +365,7 @@ const DateMenuButton = new Lang.Class({
let now = new Date();
this._calendar.setDate(now);
this._date.setDate(now);
+ this._messageList.setDate(now);
}
// Block notification banners while the menu is open
Main.messageTray.bannerBlocked = isOpen;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]