[gnome-clocks/wip/analogstopwatchtimer] Do not use linked buttons.
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks/wip/analogstopwatchtimer] Do not use linked buttons.
- Date: Fri, 16 Aug 2013 13:53:25 +0000 (UTC)
commit c0f86222319bb850b52479467399b29dececfebc
Author: Paolo Borelli <pborelli gnome org>
Date: Fri Aug 16 15:51:06 2013 +0200
Do not use linked buttons.
Allan no likes.
data/ui/stopwatch.ui | 4 +--
data/ui/timer.ui | 76 +++++++++++++++++++++++++++++++++----------------
2 files changed, 52 insertions(+), 28 deletions(-)
---
diff --git a/data/ui/stopwatch.ui b/data/ui/stopwatch.ui
index 9479fbf..1ce7bb4 100644
--- a/data/ui/stopwatch.ui
+++ b/data/ui/stopwatch.ui
@@ -43,9 +43,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="homogeneous">True</property>
- <style>
- <class name="linked"/>
- </style>
+ <property name="spacing">16</property>
<child>
<object class="GtkButton" id="left_button">
<property name="label" translatable="yes">Start</property>
diff --git a/data/ui/timer.ui b/data/ui/timer.ui
index 9f589b9..75f7c6d 100644
--- a/data/ui/timer.ui
+++ b/data/ui/timer.ui
@@ -39,6 +39,20 @@
<property name="halign">center</property>
<property name="valign">center</property>
<child>
+ <object class="GtkLabel" id="dummy_label1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="label"></property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkSpinButton" id="spinbutton_hours">
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -55,26 +69,19 @@
</style>
</object>
<packing>
- <property name="left_attach">0</property>
+ <property name="left_attach">1</property>
<property name="top_attach">0</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
- <object class="GtkSpinButton" id="spinbutton_minutes">
+ <object class="GtkLabel" id="colon_label1">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="invisible_char">●</property>
- <property name="xalign">0.5</property>
- <property name="invisible_char_set">True</property>
- <property name="input_purpose">number</property>
- <property name="orientation">vertical</property>
- <property name="adjustment">adjustment_minutes</property>
- <property name="numeric">True</property>
- <property name="wrap">True</property>
+ <property name="can_focus">False</property>
+ <property name="label">∶</property>
<style>
- <class name="clocks-spinbutton"/>
+ <class name="clocks-time-label"/>
</style>
</object>
<packing>
@@ -85,7 +92,7 @@
</packing>
</child>
<child>
- <object class="GtkSpinButton" id="spinbutton_seconds">
+ <object class="GtkSpinButton" id="spinbutton_minutes">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">●</property>
@@ -93,7 +100,7 @@
<property name="invisible_char_set">True</property>
<property name="input_purpose">number</property>
<property name="orientation">vertical</property>
- <property name="adjustment">adjustment_seconds</property>
+ <property name="adjustment">adjustment_minutes</property>
<property name="numeric">True</property>
<property name="wrap">True</property>
<style>
@@ -101,14 +108,14 @@
</style>
</object>
<packing>
- <property name="left_attach">4</property>
+ <property name="left_attach">3</property>
<property name="top_attach">0</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
- <object class="GtkLabel" id="colon_label1">
+ <object class="GtkLabel" id="colon_label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label">∶</property>
@@ -117,23 +124,44 @@
</style>
</object>
<packing>
- <property name="left_attach">1</property>
+ <property name="left_attach">4</property>
<property name="top_attach">0</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
- <object class="GtkLabel" id="colon_label2">
+ <object class="GtkSpinButton" id="spinbutton_seconds">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label">∶</property>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">●</property>
+ <property name="xalign">0.5</property>
+ <property name="invisible_char_set">True</property>
+ <property name="input_purpose">number</property>
+ <property name="orientation">vertical</property>
+ <property name="adjustment">adjustment_seconds</property>
+ <property name="numeric">True</property>
+ <property name="wrap">True</property>
<style>
- <class name="clocks-time-label"/>
+ <class name="clocks-spinbutton"/>
</style>
</object>
<packing>
- <property name="left_attach">3</property>
+ <property name="left_attach">5</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="dummy_label2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="label"></property>
+ </object>
+ <packing>
+ <property name="left_attach">6</property>
<property name="top_attach">0</property>
<property name="width">1</property>
<property name="height">1</property>
@@ -207,9 +235,7 @@
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="homogeneous">True</property>
- <style>
- <class name="linked"/>
- </style>
+ <property name="spacing">16</property>
<child>
<object class="GtkButton" id="left_button">
<property name="label" translatable="yes">Pause</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]