[gnome-session] capplet: Give the dialog a reasonable default height



commit 8c4cdd5304929d19a27f876eb9cb5bbb67a4d59f
Author: Vincent Untz <vuntz gnome org>
Date:   Mon Nov 29 22:44:03 2010 +0100

    capplet: Give the dialog a reasonable default height
    
    https://bugzilla.gnome.org/show_bug.cgi?id=635891

 capplet/gsm-properties-dialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/capplet/gsm-properties-dialog.c b/capplet/gsm-properties-dialog.c
index 4432b09..8b51169 100644
--- a/capplet/gsm-properties-dialog.c
+++ b/capplet/gsm-properties-dialog.c
@@ -784,6 +784,7 @@ gsm_properties_dialog_init (GsmPropertiesDialog *dialog)
                                                      "main-notebook"));
         gtk_box_pack_start (GTK_BOX (content_area), widget, TRUE, TRUE, 0);
 
+        gtk_window_set_default_size (GTK_WINDOW (dialog), -1, 450);
         gtk_window_set_resizable (GTK_WINDOW (dialog), TRUE);
         gtk_container_set_border_width (GTK_CONTAINER (dialog), 6);
         gtk_box_set_spacing (GTK_BOX (content_area), 2);



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