[gnome-shell] calendar: Don't forget to rebuild the calendar



commit 62be46884eab56a458fac3db18eb6d965d2a2adb
Author: Volker Sobek <reklov live com>
Date:   Mon Mar 3 02:48:25 2014 +0100

    calendar: Don't forget to rebuild the calendar
    
    Don't forget to rebuild the calendar when changing the setting
    'org.gnome.shell.calendar show-weekdate'. This wasn't happening anymore
    and changing the setting resulted in a calendar without the days
    grid.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=725533

 js/ui/calendar.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index a3451cb..0a50138 100644
--- a/js/ui/calendar.js
+++ b/js/ui/calendar.js
@@ -548,6 +548,7 @@ const Calendar = new Lang.Class({
     _onSettingsChange: function() {
         this._useWeekdate = this._settings.get_boolean(SHOW_WEEKDATE_KEY);
         this._buildHeader();
+        this._rebuildCalendar();
         this._update();
     },
 


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