sip-account-widget: Use GtkPasswordEntry

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
Anton Lazarev
2024-03-29 12:37:42 -07:00
parent 7cf7fc02d6
commit 1e862ffc67
2 changed files with 2 additions and 23 deletions

View File

@@ -99,14 +99,10 @@
<object class="AdwActionRow">
<property name="title" translatable="yes">Password</property>
<child>
<object class="GtkEntry" id="password">
<object class="GtkPasswordEntry" id="password">
<property name="valign">center</property>
<property name="input-purpose">password</property>
<property name="visibility">False</property>
<property name="primary_icon_sensitive">False</property>
<property name="secondary_icon_name">view-reveal-symbolic</property>
<property name="show-peek-icon">True</property>
<signal name="changed" handler="on_user_changed" swapped="yes"/>
<signal name="icon-press" handler="on_password_visibility_changed" swapped="yes"/>
</object>
</child>
</object>