[PATCH] respect layout when setting mode/orientation
## Submitted by j.w..@..il.com
Assigned to **Xfce-Goodies Maintainers**
**[Link to original bug (#10400)](https://bugzilla.xfce.org/show_bug.cgi?id=10400)**
## Description
Created attachment 5180
respect layout when setting orientation
datetime_set_mode / datetime_set_orientation (datetime.c:594) reorder the children of the GTK box, but in a fixed order. This makes it impossible to use the "Time, then date" layout.
The attached patch moves the orientation-setting out of datetime_create_widget (so that we have time to read the configuration settings) and respects the layout.
~~**Patch 5180**~~, "respect layout when setting orientation":
[datetime-layout.patch](/uploads/88766def39ba896b5e65f0d5e8571fce/datetime-layout.patch)
issue