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:
Iain Lane
2016-05-12 11:31:29 +01:00
committed by Florian Müllner
parent 9b07ce1d0d
commit 38406e070c
3 changed files with 2 additions and 14 deletions

View File

@ -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);