[gnome-control-center/sharing-remote-desktop-use-adw-entry-rows: 2/2] sharing: Use AdwEntryRow for remote-desktop setup




commit 09a7b6a2b936002f9e25df92328acf6e0581867c
Author: Felipe Borges <felipeborges gnome org>
Date:   Sun Jul 24 11:59:35 2022 -0500

    sharing: Use AdwEntryRow for remote-desktop setup
    
    See #1930

 panels/sharing/cc-sharing-panel.ui | 19 ++-----------------
 1 file changed, 2 insertions(+), 17 deletions(-)
---
diff --git a/panels/sharing/cc-sharing-panel.ui b/panels/sharing/cc-sharing-panel.ui
index ab1e61989..e02ca6839 100644
--- a/panels/sharing/cc-sharing-panel.ui
+++ b/panels/sharing/cc-sharing-panel.ui
@@ -362,16 +362,9 @@
                 <property name="description" translatable="yes">The user name and password are required to 
connect to this computer.</property>
 
                 <child>
-                  <object class="AdwActionRow">
+                  <object class="AdwEntryRow" id="remote_desktop_username_entry">
                     <property name="title" translatable="yes">User Name</property>
-                    <property name="activatable_widget">remote_desktop_username_entry</property>
                     <child type="suffix">
-                      <object class="GtkEntry" id="remote_desktop_username_entry">
-                        <property name="hexpand">True</property>
-                        <property name="valign">center</property>
-                      </object>
-                    </child>
-                    <child>
                       <object class="GtkButton" id="remote_desktop_username_copy">
                         <property name="valign">center</property>
                         <property name="icon-name">edit-copy-symbolic</property>
@@ -387,17 +380,9 @@
                 </child>
 
                 <child>
-                  <object class="AdwActionRow">
+                  <object class="AdwPasswordEntryRow" id="remote_desktop_password_entry">
                     <property name="title" translatable="yes">Password</property>
-                    <property name="activatable_widget">remote_desktop_password_entry</property>
                     <child type="suffix">
-                      <object class="GtkPasswordEntry" id="remote_desktop_password_entry">
-                        <property name="hexpand">True</property>
-                        <property name="show-peek-icon">True</property>
-                        <property name="valign">center</property>
-                      </object>
-                    </child>
-                    <child>
                       <object class="GtkButton" id="remote_desktop_password_copy">
                         <property name="valign">center</property>
                         <property name="icon-name">edit-copy-symbolic</property>


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