[gtk/wip/exalm/headerbar] headerbar: Prepend start window controls instead of appending
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/exalm/headerbar] headerbar: Prepend start window controls instead of appending
- Date: Wed, 6 Jan 2021 17:06:58 +0000 (UTC)
commit fd073deea9c4f3c7201c34fac6e2a024320ffe2e
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Wed Jan 6 22:04:55 2021 +0500
headerbar: Prepend start window controls instead of appending
Make sure they are always in the correct position.
gtk/gtkheaderbar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c
index 1cb9e8185a..30423b9d48 100644
--- a/gtk/gtkheaderbar.c
+++ b/gtk/gtkheaderbar.c
@@ -167,7 +167,7 @@ create_window_controls (GtkHeaderBar *bar)
g_object_bind_property (controls, "empty",
controls, "visible",
G_BINDING_SYNC_CREATE | G_BINDING_INVERT_BOOLEAN);
- gtk_box_append (GTK_BOX (bar->start_box), controls);
+ gtk_box_prepend (GTK_BOX (bar->start_box), controls);
bar->start_window_controls = controls;
controls = gtk_window_controls_new (GTK_PACK_END);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]