summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
Diffstat (limited to 'applets')
-rw-r--r--applets/clock/clock.c3
-rw-r--r--applets/clock/clock.ui3
2 files changed, 3 insertions, 3 deletions
diff --git a/applets/clock/clock.c b/applets/clock/clock.c
index f4a68a2a..f19a9d61 100644
--- a/applets/clock/clock.c
+++ b/applets/clock/clock.c
@@ -1847,9 +1847,6 @@ ensure_time_settings_window_is_created (ClockData *cd)
cd->minutes_spin = _clock_get_widget (cd, "minutes_spin");
cd->seconds_spin = _clock_get_widget (cd, "seconds_spin");
- gtk_entry_set_width_chars (GTK_ENTRY (cd->hours_spin), 2);
- gtk_entry_set_width_chars (GTK_ENTRY (cd->minutes_spin), 2);
- gtk_entry_set_width_chars (GTK_ENTRY (cd->seconds_spin), 2);
gtk_entry_set_alignment (GTK_ENTRY (cd->hours_spin), 1.0);
gtk_entry_set_alignment (GTK_ENTRY (cd->minutes_spin), 1.0);
gtk_entry_set_alignment (GTK_ENTRY (cd->seconds_spin), 1.0);
diff --git a/applets/clock/clock.ui b/applets/clock/clock.ui
index 9ced7cdd..ff4ff557 100644
--- a/applets/clock/clock.ui
+++ b/applets/clock/clock.ui
@@ -124,6 +124,7 @@
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="invisible-char">●</property>
+ <property name="width-chars">2</property>
<property name="adjustment">adjustment3</property>
<property name="climb-rate">1</property>
<property name="numeric">True</property>
@@ -140,6 +141,7 @@
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="invisible-char">●</property>
+ <property name="width-chars">2</property>
<property name="adjustment">adjustment2</property>
<property name="climb-rate">1</property>
<property name="numeric">True</property>
@@ -156,6 +158,7 @@
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="invisible-char">●</property>
+ <property name="width-chars">2</property>
<property name="adjustment">adjustment1</property>
<property name="climb-rate">1</property>
<property name="numeric">True</property>