[PATCH] Don't fetch disable-indicator key
Guido Günther
agx at sigxcpu.org
Thu Feb 24 11:45:07 UTC 2011
---
js/ui/status/keyboard.js | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js
index 6e6ccee..2bf35a5 100644
--- a/js/ui/status/keyboard.js
+++ b/js/ui/status/keyboard.js
@@ -62,9 +62,6 @@ XKBIndicator.prototype = {
this._labelActors = [ ];
this._layoutItems = [ ];
- this._indicatorSettings = new Gio.Settings({ schema: INDICATOR_SCHEMA });
- this._indicatorSettings.connect('changed::disable-indicator', Lang.bind(this, this._sync_config));
-
this._disableIndicator = false;
this._showFlags = false;
this._config = Gkbd.Configuration.get();
@@ -81,7 +78,7 @@ XKBIndicator.prototype = {
},
_sync_config: function() {
- this._disableIndicator = this._indicatorSettings.get_boolean('disable-indicator');
+ this._disableIndicator = false;
this._showFlags = this._config.if_flags_shown();
if (this._showFlags) {
--
1.7.4.1
--Dxnq1zWXvFF0Q93v--
More information about the pkg-gnome-maintainers
mailing list