[libgda] GdauiForm layout correction
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] GdauiForm layout correction
- Date: Sat, 17 Sep 2011 20:47:19 +0000 (UTC)
commit 93c15533bd2b06ff31d2afca8f45f29407695a28
Author: Vivien Malerba <malerba gnome-db org>
Date: Sat Sep 17 22:45:57 2011 +0200
GdauiForm layout correction
libgda-ui/gdaui-form.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/libgda-ui/gdaui-form.c b/libgda-ui/gdaui-form.c
index c78bd65..df1e460 100644
--- a/libgda-ui/gdaui-form.c
+++ b/libgda-ui/gdaui-form.c
@@ -239,12 +239,10 @@ gdaui_form_set_property (GObject *object,
if (form->priv) {
switch (param_id) {
case PROP_MODEL: {
- gboolean expand;
model = GDA_DATA_MODEL (g_value_get_object (value));
g_object_set (G_OBJECT (form->priv->raw_form), "model", model, NULL);
- g_object_get (G_OBJECT (form->priv->raw_form), "can-expand-v", &expand, NULL);
gtk_container_child_set (GTK_CONTAINER (form), form->priv->raw_form,
- "expand", expand, "fill", expand, NULL);
+ "expand", TRUE, "fill", TRUE, NULL);
gtk_widget_queue_resize ((GtkWidget*) form);
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]