[gnome-shell] st/password-entry: Initialize :show-peek-icon property



commit c1d738d60ce74fc89a95869f421957e879311141
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Dec 21 04:03:00 2019 +0100

    st/password-entry: Initialize :show-peek-icon property
    
    The icon is shown by default, but the struct member that backs the
    property starts out as FALSE.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/910

 src/st/st-password-entry.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/st/st-password-entry.c b/src/st/st-password-entry.c
index 31c1ae68c5..e5800c5617 100644
--- a/src/st/st-password-entry.c
+++ b/src/st/st-password-entry.c
@@ -164,6 +164,8 @@ st_password_entry_init (StPasswordEntry *entry)
                                            NULL);
   st_entry_set_secondary_icon (ST_ENTRY (entry), priv->peek_password_icon);
 
+  priv->show_peek_icon = TRUE;
+
   clutter_text = st_entry_get_clutter_text (ST_ENTRY (entry));
   clutter_text_set_password_char (CLUTTER_TEXT (clutter_text), BLACK_CIRCLE);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]