shellEntry: Use correct enum for input purpose hints
This was mistakenly left using the GTK+ counterparts. Luckily the enums are binary compatible, but oops.
This commit is contained in:
parent
4a17c8f4a9
commit
bfdbee8115
@ -55,11 +55,11 @@ var EntryMenu = new Lang.Class({
|
|||||||
|
|
||||||
if (v) {
|
if (v) {
|
||||||
this._makePasswordItem();
|
this._makePasswordItem();
|
||||||
this._entry.input_purpose = Gtk.InputPurpose.PASSWORD;
|
this._entry.input_purpose = Clutter.InputContentPurpose.PASSWORD;
|
||||||
} else {
|
} else {
|
||||||
this._passwordItem.destroy();
|
this._passwordItem.destroy();
|
||||||
this._passwordItem = null;
|
this._passwordItem = null;
|
||||||
this._entry.input_purpose = Gtk.InputPurpose.FREE_FORM;
|
this._entry.input_purpose = Clutter.InputContentPurpose.NORMAL;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user