[gnome-control-center/gbsneto/fix-datetime-dialog: 3/3] datetime: Switch day row to AdwActionRow
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gbsneto/fix-datetime-dialog: 3/3] datetime: Switch day row to AdwActionRow
- Date: Thu, 27 Jan 2022 02:48:22 +0000 (UTC)
commit 043d4fab74d54a680540205dee466583560e200f
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Jan 26 23:47:36 2022 -0300
datetime: Switch day row to AdwActionRow
Another small cleanup.
panels/datetime/cc-datetime-panel.ui | 31 +++++++------------------------
1 file changed, 7 insertions(+), 24 deletions(-)
---
diff --git a/panels/datetime/cc-datetime-panel.ui b/panels/datetime/cc-datetime-panel.ui
index 916e1f63d..364666ba8 100644
--- a/panels/datetime/cc-datetime-panel.ui
+++ b/panels/datetime/cc-datetime-panel.ui
@@ -88,31 +88,14 @@
<!-- Day row -->
<child>
- <object class="GtkListBoxRow" id="day_row">
- <property name="activatable">False</property>
+ <object class="AdwActionRow" id="day_row">
+ <property name="title" translatable="yes">Day</property>
+ <property name="activatable-widget">day_spinbutton</property>
<child>
- <object class="GtkBox">
- <property name="margin_top">12</property>
- <property name="margin_bottom">12</property>
- <property name="margin_start">12</property>
- <property name="margin_end">12</property>
- <child>
- <object class="GtkLabel">
- <property name="hexpand">True</property>
- <property name="halign">start</property>
- <property name="label" translatable="yes">Day</property>
- <property name="mnemonic-widget">day_spinbutton</property>
- <style>
- <class name="dim-label"/>
- </style>
- </object>
- </child>
- <child>
- <object class="GtkSpinButton" id="day_spinbutton">
- <property name="width-chars">3</property>
- <property name="numeric">True</property>
- </object>
- </child>
+ <object class="GtkSpinButton" id="day_spinbutton">
+ <property name="valign">center</property>
+ <property name="width-chars">3</property>
+ <property name="numeric">True</property>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]