From f015f4574f696b630b6967ecf4d3c5a3d01a82f4 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Mon, 2 Mar 2015 00:30:20 -0800 Subject: [PATCH] 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 file changed, 1 insertion(+) diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index a36da317b..4316006c4 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;