[glabels/gtk3] Do not expand object editor vertically.
- From: Jim Evins <jimevins src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glabels/gtk3] Do not expand object editor vertically.
- Date: Mon, 18 Oct 2010 00:56:37 +0000 (UTC)
commit 323db1068fec3f9e29b243526532f8db56b083bb
Author: Jim Evins <evins snaught com>
Date: Sun Oct 17 20:49:58 2010 -0400
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.
src/ui-sidebar.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/ui-sidebar.c b/src/ui-sidebar.c
index d23d5a1..6895231 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");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]