[gnome-software: 7/14] gs-details-page: Move update button before uninstall button




commit 54393ef4eaceee2cfdc6ffd7366f75f28cfca61a
Author: Philip Withnall <pwithnall endlessos org>
Date:   Thu Aug 12 12:11:27 2021 +0100

    gs-details-page: Move update button before uninstall button
    
    As per the new designs, it makes more sense for the update button to
    come before the uninstall button.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>
    
    Helps: #1351

 src/gs-details-page.ui | 27 ++++++++++++---------------
 1 file changed, 12 insertions(+), 15 deletions(-)
---
diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
index 28cc0d405..2a1ee9820 100644
--- a/src/gs-details-page.ui
+++ b/src/gs-details-page.ui
@@ -258,6 +258,18 @@
                                             </style>
                                           </object>
                                         </child>
+                                        <child>
+                                          <object class="GtkButton" id="button_update">
+                                            <property name="visible">False</property>
+                                            <property name="use_underline">True</property>
+                                            <property name="label" translatable="yes">_Update</property>
+                                            <property name="width_request">105</property>
+                                            <property name="can_focus">True</property>
+                                            <property name="receives_default">True</property>
+                                            <property name="halign">start</property>
+                                            <property name="valign">center</property>
+                                          </object>
+                                        </child>
                                         <child>
                                           <object class="GtkButton" id="button_remove">
                                             <property name="visible">False</property>
@@ -327,21 +339,6 @@
                                             </child>
                                           </object>
                                         </child>
-                                        <child>
-                                          <object class="GtkButton" id="button_update">
-                                            <property name="visible">False</property>
-                                            <property name="use_underline">True</property>
-                                            <property name="label" translatable="yes">_Update</property>
-                                            <property name="width_request">105</property>
-                                            <property name="can_focus">True</property>
-                                            <property name="receives_default">True</property>
-                                            <property name="halign">start</property>
-                                            <property name="valign">center</property>
-                                          </object>
-                                          <packing>
-                                            <property name="pack-type">end</property>
-                                          </packing>
-                                        </child>
                                         <child>
                                           <object class="GtkButton" id="button_details_add_shortcut">
                                             <property name="visible">False</property>


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