[gnome-system-tools] Bug 551740 – unable to manually adjust the clock past 13:49:49
- From: Milan Bouchet-Valat <milanbv src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-system-tools] Bug 551740 – unable to manually adjust the clock past 13:49:49
- Date: Sun, 26 Jul 2009 11:09:33 +0000 (UTC)
commit 3dde062351cb3a4c12daa437316aeb6bd75ac76f
Author: James Westby <jw+debian jameswestby net>
Date: Wed Jul 22 09:53:38 2009 +0200
Bug 551740 â?? unable to manually adjust the clock past 13:49:49
GtkAdjustment behaviour has changed to restrict the range of the values.
From the GTK README:
GtkAdjustment now enforces that values are restricted to the
range [lower, upper - page_size]. This has always been the
documented behaviour, and the recommended practice is to set
page_size to 0 when using adjustments for simple scalar values,
like in a slider or spin button.
This change meant that the time couldn't be set to greater than 13:49:49, as the upper was 23:59:59 and the page_sizes 10:10:10.
This patch reduces the page_sizes to 0, as recommended in the above quote.
Thanks to Sebastien Bacher for finding the above information.
interfaces/time.ui | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/interfaces/time.ui b/interfaces/time.ui
index 25637eb..40e45e0 100644
--- a/interfaces/time.ui
+++ b/interfaces/time.ui
@@ -6,7 +6,7 @@
<property name="lower">0</property>
<property name="page_increment">10</property>
<property name="step_increment">1</property>
- <property name="page_size">10</property>
+ <property name="page_size">0</property>
<property name="value">0</property>
</object>
<object class="GtkAdjustment" id="adjustment2">
@@ -14,7 +14,7 @@
<property name="lower">0</property>
<property name="page_increment">10</property>
<property name="step_increment">1</property>
- <property name="page_size">10</property>
+ <property name="page_size">0</property>
<property name="value">0</property>
</object>
<object class="GtkAdjustment" id="adjustment3">
@@ -22,7 +22,7 @@
<property name="lower">0</property>
<property name="page_increment">10</property>
<property name="step_increment">1</property>
- <property name="page_size">10</property>
+ <property name="page_size">0</property>
<property name="value">0</property>
</object>
<object class="GtkDialog" id="time_zone_window">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]