[gnome-control-center/extensible-shell] shell: make sure the main view can always be made smaller



commit 7a64835a5861a73149b0cc8ebd437de04a75aee4
Author: Thomas Wood <thomas wood intel com>
Date:   Thu Apr 22 11:50:46 2010 +0100

    shell: make sure the main view can always be made smaller
    
    This prevents the situation where the main view was made larger, but then
    cannot shrink because it is inside a viewport which does not request the
    smaller size.

 shell/control-center.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/shell/control-center.c b/shell/control-center.c
index 1f4b6ee..bbcfcab 100644
--- a/shell/control-center.c
+++ b/shell/control-center.c
@@ -242,6 +242,7 @@ fill_model (ShellData *data)
   GtkWidget *vbox;
 
   vbox = W (data->builder, "main-vbox");
+  gtk_widget_set_size_request (vbox, 0, -1);
 
   gtk_widget_modify_bg (vbox->parent, GTK_STATE_NORMAL,
                         &vbox->style->base[GTK_STATE_NORMAL]);



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