headerbar: Prepend start window controls instead of appending

Make sure they are always in the correct position.
This commit is contained in:
Alexander Mikhaylenko 2021-01-06 22:04:55 +05:00
parent 0eab4deab0
commit fd073deea9

View File

@ -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);