From bfdbee8115b38d48411785742d36d3af19866027 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Tue, 13 Mar 2018 15:22:15 +0100 Subject: [PATCH] shellEntry: Use correct enum for input purpose hints This was mistakenly left using the GTK+ counterparts. Luckily the enums are binary compatible, but oops. --- js/ui/shellEntry.js | 4 ++-- 1 file 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; } },