summaryrefslogtreecommitdiff
path: root/applets/clock
diff options
context:
space:
mode:
Diffstat (limited to 'applets/clock')
-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 f19a9d61..3aa4b7f5 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_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);
g_signal_connect (cd->seconds_spin, "wrapped", G_CALLBACK (wrap_cb), cd);
g_signal_connect (cd->minutes_spin, "wrapped", G_CALLBACK (wrap_cb), cd);
g_signal_connect (cd->hours_spin, "wrapped", G_CALLBACK (wrap_cb), cd);
diff --git a/applets/clock/clock.ui b/applets/clock/clock.ui
index ff4ff557..fb62507c 100644
--- a/applets/clock/clock.ui
+++ b/applets/clock/clock.ui
@@ -125,6 +125,7 @@
<property name="can-focus">True</property>
<property name="invisible-char">●</property>
<property name="width-chars">2</property>
+ <property name="xalign">1</property>
<property name="adjustment">adjustment3</property>
<property name="climb-rate">1</property>
<property name="numeric">True</property>
@@ -142,6 +143,7 @@
<property name="can-focus">True</property>
<property name="invisible-char">●</property>
<property name="width-chars">2</property>
+ <property name="xalign">1</property>
<property name="adjustment">adjustment2</property>
<property name="climb-rate">1</property>
<property name="numeric">True</property>
@@ -159,6 +161,7 @@
<property name="can-focus">True</property>
<property name="invisible-char">●</property>
<property name="width-chars">2</property>
+ <property name="xalign">1</property>
<property name="adjustment">adjustment1</property>
<property name="climb-rate">1</property>
<property name="numeric">True</property>