aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-03-18 22:18:51 +0100
committerGuido Günther <agx@sigxcpu.org>2012-03-18 22:19:07 +0100
commit3837b6d679fe8478efcb75e0da7480e15b9a5127 (patch)
treee9396f54ae592b94a64394205deefc351c71b487
parent94b50c67ee156b9acc566fc9a2730da46a0b3c25 (diff)
Don't use global 'label'
-rw-r--r--extension.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/extension.js b/extension.js
index 7e25c6f..d54c39f 100644
--- a/extension.js
+++ b/extension.js
@@ -11,8 +11,7 @@ function OnScreenKeyboardButton() {
OnScreenKeyboardButton.prototype = {
_init: function() {
- label = GLib.markup_escape_text('Keyboard', -1);
- this.actor = new St.Button ({ label: label });
+ this.actor = new St.Button ({ label: 'Keyboard' });
this.actor.connect("clicked", Lang.bind(this, this._toggleShowOnScreenKeyboard));
},