[gnome-initial-setup] Make the EULA view expand to the bottom of the widget



commit 02752208d04199ccb68d35ab93e6826ee550fcd9
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu May 31 16:53:45 2012 -0400

    Make the EULA view expand to the bottom of the widget

 gnome-initial-setup/gdm-initial-setup.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gnome-initial-setup/gdm-initial-setup.c b/gnome-initial-setup/gdm-initial-setup.c
index 2dcfc03..b7bb966 100644
--- a/gnome-initial-setup/gdm-initial-setup.c
+++ b/gnome-initial-setup/gdm-initial-setup.c
@@ -199,6 +199,9 @@ build_eula_page (SetupData *setup,
                 return;
 
         scrolled_window = gtk_scrolled_window_new (NULL, NULL);
+        gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_window),
+                                             GTK_SHADOW_ETCHED_IN);
+        gtk_widget_set_vexpand (scrolled_window, TRUE);
         gtk_container_add (GTK_CONTAINER (scrolled_window), text_view);
 
         checkbox = gtk_check_button_new_with_mnemonic (_("I have _agreed to the "



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