[libadwaita/wip/cdavis/use-password-input-purpose] password-entry-row: Use password input purpose
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/cdavis/use-password-input-purpose] password-entry-row: Use password input purpose
- Date: Wed, 6 Jul 2022 16:53:28 +0000 (UTC)
commit c6045dd8fb7fe6995bb7fc65694317a7588f920b
Author: Christopher Davis <christopherdavis gnome org>
Date: Wed Jul 6 12:52:21 2022 -0400
password-entry-row: Use password input purpose
src/adw-password-entry-row.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/adw-password-entry-row.c b/src/adw-password-entry-row.c
index ee97b2d1..10ea3ce7 100644
--- a/src/adw-password-entry-row.c
+++ b/src/adw-password-entry-row.c
@@ -156,6 +156,7 @@ adw_password_entry_row_init (AdwPasswordEntryRow *self)
gtk_text_set_visibility (GTK_TEXT (delegate), FALSE);
gtk_text_set_buffer (GTK_TEXT (delegate), gtk_password_entry_buffer_new ());
+ gtk_text_set_input_purpose (GTK_TEXT (delegate), GTK_INPUT_PURPOSE_PASSWORD);
g_signal_connect_swapped (delegate, "notify::has-focus",
G_CALLBACK (notify_has_focus_cb), self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]