[gnome-builder] glade: move adapter chooser to the bottom of the view
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] glade: move adapter chooser to the bottom of the view
- Date: Mon, 22 Oct 2018 01:59:51 +0000 (UTC)
commit 8bad0eb0ba3e6a9ffaaf1e06b4449f35f8c3ff77
Author: Christian Hergert <chergert redhat com>
Date: Sun Oct 21 18:47:49 2018 -0700
glade: move adapter chooser to the bottom of the view
This means that we don't double up on bars, and that is probably a good
thing for hit targets and what not.
src/plugins/glade/gbp-glade-view.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/glade/gbp-glade-view.c b/src/plugins/glade/gbp-glade-view.c
index af10f35d9..38925b2b5 100644
--- a/src/plugins/glade/gbp-glade-view.c
+++ b/src/plugins/glade/gbp-glade-view.c
@@ -106,7 +106,9 @@ gbp_glade_view_init (GbpGladeView *self)
"visible", TRUE,
NULL);
dzl_gtk_widget_add_style_class (GTK_WIDGET (self->chooser), "glade-chooser");
- gtk_container_add (GTK_CONTAINER (box), GTK_WIDGET (self->chooser));
+ gtk_container_add_with_properties (GTK_CONTAINER (box), GTK_WIDGET (self->chooser),
+ "pack-type", GTK_PACK_END,
+ NULL);
self->designer = g_object_new (GLADE_TYPE_DESIGN_VIEW,
"project", self->project,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]