[gnome-boxes/polish-snapshot-preferences: 2/6] preferences, snapshot-list-row: Tidy up snapshot renaming




commit ee4f03f681764f557b5021d7543a11830de0b406
Author: Felipe Borges <felipeborges gnome org>
Date:   Tue Jan 4 14:44:02 2022 +0100

    preferences, snapshot-list-row: Tidy up snapshot renaming

 data/ui/preferences/snapshot-list-row.ui | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/data/ui/preferences/snapshot-list-row.ui b/data/ui/preferences/snapshot-list-row.ui
index b21e2b41..88aaa4fa 100644
--- a/data/ui/preferences/snapshot-list-row.ui
+++ b/data/ui/preferences/snapshot-list-row.ui
@@ -28,6 +28,8 @@
         <property name="visible">true</property>
         <property name="can_focus">false</property>
         <property name="transition_type">slide-up-down</property>
+        <property name="margin">5</property>
+
         <child>
           <object class="GtkBox" id="show_name_box">
             <property name="visible">True</property>
@@ -73,12 +75,16 @@
             <property name="visible">true</property>
             <property name="orientation">horizontal</property>
             <property name="can_focus">false</property>
+            <style>
+              <class name="linked"/>
+            </style>
+
             <child>
               <object class="GtkEntry" id="name_entry">
                 <property name="visible">true</property>
                 <property name="can_focus">true</property>
-                <property name="margin_start">45</property>
                 <property name="hexpand">true</property>
+                <property name="valign">center</property>
                 <signal name="activate" handler="on_save_name_button_clicked" />
               </object>
             </child>
@@ -87,13 +93,18 @@
               <object class="GtkButton" id="save_name_button">
                 <property name="can_focus">true</property>
                 <property name="visible">true</property>
-                <property name="margin_start">10</property>
                 <property name="valign">center</property>
-                <property name="label" translatable="yes">Done</property>
                 <signal name="clicked" handler="on_save_name_button_clicked" />
                 <style>
-                  <class name="text-button" />
+                  <class name="suggested-action"/>
                 </style>
+                
+                <child>
+                  <object class="GtkImage">
+                    <property name="visible">True</property>
+                    <property name="icon-name">document-edit-symbolic</property>
+                  </object>
+                </child>
               </object>
             </child>
           </object>


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