From: Jim Evins Date: Mon, 18 Oct 2010 00:49:58 +0000 (-0400) Subject: Do not expand object editor vertically. X-Git-Tag: glabels-2_3_1~141^2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=323db1068fec3f9e29b243526532f8db56b083bb;p=glabels Do not expand object editor vertically. Gtk3 has new behavior for expansion of widgets. This commit takes care of the most obvious case of this new behavior. Additional cases still need to be addressed in the object-editor.ui file. --- diff --git a/src/ui-sidebar.c b/src/ui-sidebar.c index d23d5a1e..68952315 100644 --- a/src/ui-sidebar.c +++ b/src/ui-sidebar.c @@ -141,7 +141,8 @@ gl_ui_sidebar_construct (glUISidebar *sidebar) sidebar->priv->editor = gl_object_editor_new (); gtk_widget_show (sidebar->priv->editor); - gtk_container_add (GTK_CONTAINER(sidebar), sidebar->priv->editor); + gtk_box_pack_start (GTK_BOX (sidebar), sidebar->priv->editor, FALSE, FALSE, 0); + gtk_widget_set_vexpand (GTK_WIDGET (sidebar->priv->editor), FALSE); gl_debug (DEBUG_UI, "END"); }