[gthumb] Fixed broken window layout with gtk+ 3.10



commit 5d98406c622a4f68af96c269266be5da3587e068
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Fri Sep 27 17:40:33 2013 +0200

    Fixed broken window layout with gtk+ 3.10
    
    [bug #708800]

 gthumb/gth-window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-window.c b/gthumb/gth-window.c
index a2960bc..a2cce99 100644
--- a/gthumb/gth-window.c
+++ b/gthumb/gth-window.c
@@ -324,6 +324,7 @@ gth_window_attach (GthWindow     *window,
                return;
        }
 
+       gtk_widget_set_vexpand (child, FALSE);
        gtk_grid_attach (GTK_GRID (window->priv->grid),
                          child,
                          0, position,
@@ -362,6 +363,7 @@ gth_window_attach_content (GthWindow *window,
 
        _gtk_container_remove_children (GTK_CONTAINER (window->priv->contents[page]), NULL, NULL);
        gtk_widget_set_hexpand (child, TRUE);
+       gtk_widget_set_vexpand (child, TRUE);
        gtk_container_add (GTK_CONTAINER (window->priv->contents[page]), child);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]