[polari] Replace deprecated GSettings:schema property



commit 32a414e585d54685b4f6301b078b0fabc0cebe7b
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Aug 29 17:33:17 2014 +0200

    Replace deprecated GSettings:schema property

 src/application.js     |    2 +-
 src/chatView.js        |    2 +-
 src/chatroomManager.js |    2 +-
 src/joinDialog.js      |    2 +-
 src/mainWindow.js      |    2 +-
 src/messageDialog.js   |    2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index 223d8d6..01f5515 100644
--- a/src/application.js
+++ b/src/application.js
@@ -66,7 +66,7 @@ const Application = new Lang.Class({
                 this._removeSavedChannelsForAccount(account);
             }));
 
-        this._settings = new Gio.Settings({ schema: 'org.gnome.polari' });
+        this._settings = new Gio.Settings({ schema_id: 'org.gnome.polari' });
 
         this.pasteManager = new PasteManager.PasteManager();
         this.notificationQueue = new AppNotifications.NotificationQueue();
diff --git a/src/chatView.js b/src/chatView.js
index c26ed91..c06a47e 100644
--- a/src/chatView.js
+++ b/src/chatView.js
@@ -599,7 +599,7 @@ const ChatView = new Lang.Class({
         let daysAgo = todayMidnight.difference(dateMidnight) / GLib.TIME_SPAN_DAY;
 
         let format;
-        let desktopSettings = new Gio.Settings({ schema: 'org.gnome.desktop.interface' });
+        let desktopSettings = new Gio.Settings({ schema_id: 'org.gnome.desktop.interface' });
         let clockFormat = desktopSettings.get_string('clock-format');
         let hasAmPm = date.format('%p') != '';
 
diff --git a/src/chatroomManager.js b/src/chatroomManager.js
index f481801..64370c6 100644
--- a/src/chatroomManager.js
+++ b/src/chatroomManager.js
@@ -117,7 +117,7 @@ const _ChatroomManager = new Lang.Class({
     },
 
     _restoreSavedChannels: function(account) {
-        let settings = new Gio.Settings({ schema: 'org.gnome.polari' });
+        let settings = new Gio.Settings({ schema_id: 'org.gnome.polari' });
         let savedChannels = settings.get_value('saved-channel-list').deep_unpack();
         for (let i = 0; i < savedChannels.length; i++) {
             let serializedChannel = savedChannels[i];
diff --git a/src/joinDialog.js b/src/joinDialog.js
index c71bdd1..4f39bbd 100644
--- a/src/joinDialog.js
+++ b/src/joinDialog.js
@@ -21,7 +21,7 @@ const JoinDialog = new Lang.Class({
     _init: function() {
         this._createWidget();
 
-        this._settings = new Gio.Settings({ schema: 'org.gnome.polari' });
+        this._settings = new Gio.Settings({ schema_id: 'org.gnome.polari' });
 
         this._accountsMonitor = AccountsMonitor.getDefault();
 
diff --git a/src/mainWindow.js b/src/mainWindow.js
index f88122a..699ef8d 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -27,7 +27,7 @@ const MainWindow = new Lang.Class({
         this._entries = {};
 
         this._room = null;
-        this._settings = new Gio.Settings({ schema: 'org.gnome.polari' });
+        this._settings = new Gio.Settings({ schema_id: 'org.gnome.polari' });
         this._gtkSettings = Gtk.Settings.get_default();
 
         this._displayNameChangedId = 0;
diff --git a/src/messageDialog.js b/src/messageDialog.js
index d2fc9c2..bf8c2a9 100644
--- a/src/messageDialog.js
+++ b/src/messageDialog.js
@@ -16,7 +16,7 @@ const MessageDialog = new Lang.Class({
     _init: function() {
         this._createWidget();
 
-        this._settings = new Gio.Settings({ schema: 'org.gnome.polari' });
+        this._settings = new Gio.Settings({ schema_id: 'org.gnome.polari' });
 
         this._accounts = {};
         AccountsMonitor.getDefault().dupAccounts().forEach(Lang.bind(this,


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