[gnome-initial-setup] eulas: Remove horizontal scrolling from the EULA display



commit b6ecea57e2847ba1b912e96a2debf671db6e600f
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Nov 14 17:01:20 2012 -0500

    eulas: Remove horizontal scrolling from the EULA display

 TODO                                             |    1 -
 gnome-initial-setup/pages/eulas/gis-eula-pages.c |    3 +++
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/TODO b/TODO
index 41f353a..03bd677 100644
--- a/TODO
+++ b/TODO
@@ -6,7 +6,6 @@
 **  language list - only show the varient (eg - United Kingdom) if there is more than one language that needs
 **  do we need the "use" prefix?
 * EULAs
-**  horizontal scrolling
 * Network
 **  need to check the connecting progress
 * Account
diff --git a/gnome-initial-setup/pages/eulas/gis-eula-pages.c b/gnome-initial-setup/pages/eulas/gis-eula-pages.c
index bfc6ffa..11d0788 100644
--- a/gnome-initial-setup/pages/eulas/gis-eula-pages.c
+++ b/gnome-initial-setup/pages/eulas/gis-eula-pages.c
@@ -240,6 +240,9 @@ gis_eula_page_constructed (GObject *object)
   scrolled_window = gtk_scrolled_window_new (NULL, NULL);
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_window),
                                        GTK_SHADOW_ETCHED_IN);
+  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
+                                  GTK_POLICY_NEVER,
+                                  GTK_POLICY_AUTOMATIC);
   gtk_widget_set_vexpand (scrolled_window, TRUE);
   gtk_container_add (GTK_CONTAINER (scrolled_window), text_view);
   gtk_container_add (GTK_CONTAINER (vbox), scrolled_window);



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