summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2018-03-13 15:22:15 +0100
committerCarlos Garnacho <carlosg@gnome.org>2018-03-14 11:28:39 +0100
commit6aaad7feb159d0ce45afa03fe432fce762742d48 (patch)
treec22623c7eb003db1a9e072f2feef56efdfdb5daf
parentca1d1b6d5c1f9b9530ce52fac51b52307570acb6 (diff)
downloadgnome-shell-wip/carlosg/fix-purpose-enums.tar.gz
shellEntry: Use correct enum for input purpose hintswip/carlosg/fix-purpose-enums
This was mistakenly left using the GTK+ counterparts. Luckily the enums are binary compatible, but oops.
-rw-r--r--js/ui/shellEntry.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/ui/shellEntry.js b/js/ui/shellEntry.js
index 897a226fa..9db5136e6 100644
--- a/js/ui/shellEntry.js
+++ b/js/ui/shellEntry.js
@@ -55,11 +55,11 @@ var EntryMenu = new Lang.Class({
if (v) {
this._makePasswordItem();
- this._entry.input_purpose = Gtk.InputPurpose.PASSWORD;
+ this._entry.input_purpose = Clutter.InputContentPurpose.PASSWORD;
} else {
this._passwordItem.destroy();
this._passwordItem = null;
- this._entry.input_purpose = Gtk.InputPurpose.FREE_FORM;
+ this._entry.input_purpose = Clutter.InputContentPurpose.NORMAL;
}
},