[gnome-nibbles/arnaudb/modernize-code: 3/3] Simplify a bit more UI file.



commit 0462f1ef5ffb11147faf6394caea3753cfd5ec86
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Jun 1 21:31:11 2020 +0200

    Simplify a bit more UI file.

 data/nibbles.ui | 59 ++++++++++++++++++++++++++-------------------------------
 1 file changed, 27 insertions(+), 32 deletions(-)
---
diff --git a/data/nibbles.ui b/data/nibbles.ui
index a26b191..149f40a 100644
--- a/data/nibbles.ui
+++ b/data/nibbles.ui
@@ -124,42 +124,37 @@
                 <property name="visible">True</property>
                 <property name="orientation">vertical</property>
                 <child>
-                  <object class="GtkBox">
+                  <object class="GtkStack" id="statusbar_stack">
                     <property name="visible">True</property>
-                    <property name="halign">center</property>
                     <child>
-                      <object class="GtkStack" id="statusbar_stack">
+                      <object class="GtkLabel" id="countdown">
                         <property name="visible">True</property>
-                        <child>
-                          <object class="GtkLabel" id="countdown">
-                            <property name="visible">True</property>
-                            <property name="label">3</property>
-                            <property name="halign">center</property>
-                            <style><class name="countdown"/></style>
-                          </object>
-                          <packing>
-                            <property name="name">countdown</property>
-                          </packing>
-                        </child>
-                        <child>
-                          <object class="Scoreboard" id="scoreboard">
-                            <property name="visible">True</property>
-                          </object>
-                          <packing>
-                            <property name="name">scoreboard</property>
-                          </packing>
-                        </child>
-                        <child>
-                          <object class="GtkLabel">
-                            <property name="visible">True</property>
-                            <property name="label" translatable="yes">Paused</property>
-                            <style><class name="menu-title"/></style>
-                          </object>
-                          <packing>
-                            <property name="name">paused</property>
-                          </packing>
-                        </child>
+                        <property name="label">3</property>
+                        <property name="halign">center</property>
+                        <style><class name="countdown"/></style>
                       </object>
+                      <packing>
+                        <property name="name">countdown</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="Scoreboard" id="scoreboard">
+                        <property name="visible">True</property>
+                        <property name="halign">center</property>
+                      </object>
+                      <packing>
+                        <property name="name">scoreboard</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkLabel">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes">Paused</property>
+                        <style><class name="menu-title"/></style>
+                      </object>
+                      <packing>
+                        <property name="name">paused</property>
+                      </packing>
                     </child>
                   </object>
                   <packing>


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