summaryrefslogtreecommitdiff
path: root/applets/clock
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-17 07:48:27 +0100
committerraveit65 <[email protected]>2021-12-19 15:23:20 +0100
commit7b694021f7c38a948ec96781f51df7e84a6141ca (patch)
tree092201003948aae9adb3592d0c482a5aca69cd29 /applets/clock
parent6ed10e1f6410e7827a23af39614469478003e0c5 (diff)
downloadmate-panel-7b694021f7c38a948ec96781f51df7e84a6141ca.tar.bz2
mate-panel-7b694021f7c38a948ec96781f51df7e84a6141ca.tar.xz
clock: gtk_entry_set_width_chars in clock.ui
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 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>