Use the org.gnome.desktop.calendar schema instead of our own
This setting is now shared by Shell and Calendar. https://bugzilla.gnome.org/show_bug.cgi?id=766318
This commit is contained in:

committed by
Florian Müllner

parent
9b07ce1d0d
commit
38406e070c
@ -345,7 +345,7 @@ const Calendar = new Lang.Class({
|
||||
|
||||
_init: function() {
|
||||
this._weekStart = Shell.util_get_week_start();
|
||||
this._settings = new Gio.Settings({ schema_id: 'org.gnome.shell.calendar' });
|
||||
this._settings = new Gio.Settings({ schema_id: 'org.gnome.desktop.calendar' });
|
||||
|
||||
this._settings.connect('changed::' + SHOW_WEEKDATE_KEY, Lang.bind(this, this._onSettingsChange));
|
||||
this._useWeekdate = this._settings.get_boolean(SHOW_WEEKDATE_KEY);
|
||||
|
Reference in New Issue
Block a user