summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-17 07:55:38 +0100
committerraveit65 <[email protected]>2021-12-19 15:23:20 +0100
commit0791b258daba11925ced8406db204f27b827202f (patch)
tree1010de8475c0c687afbd1931da5ec753446c51a4
parent7b694021f7c38a948ec96781f51df7e84a6141ca (diff)
downloadmate-panel-0791b258daba11925ced8406db204f27b827202f.tar.bz2
mate-panel-0791b258daba11925ced8406db204f27b827202f.tar.xz
clock: gtk_entry_set_alignment in clock.ui
-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>