[gnome-packagekit] Don't use horizontal scrollbars



commit d49cb115fb4e7d6fbd2233fc105b2b95312b4901
Author: William Jon McCann <jmccann redhat com>
Date:   Fri Feb 8 08:02:42 2013 -0500

    Don't use horizontal scrollbars
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693416

 src/gpk-dialog.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gpk-dialog.c b/src/gpk-dialog.c
index 437c6e6..6e5c103 100644
--- a/src/gpk-dialog.c
+++ b/src/gpk-dialog.c
@@ -250,7 +250,7 @@ gpk_dialog_embed_file_list_widget (GtkDialog *dialog, GPtrArray *files)
        /* scroll the treeview */
        scroll = gtk_scrolled_window_new (NULL, NULL);
        gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll),
-                                       GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
+                                       GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
        gtk_container_add (GTK_CONTAINER (scroll), widget);
        gtk_widget_show (scroll);
 
@@ -405,7 +405,7 @@ gpk_dialog_tabbed_package_list_widget (GtkWidget *tab_page, GPtrArray *array)
 
        /* scroll the treeview */
        scroll = gtk_scrolled_window_new (NULL, NULL);
-       gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), GTK_POLICY_AUTOMATIC, 
GTK_POLICY_AUTOMATIC);
+       gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
        gtk_container_add (GTK_CONTAINER (scroll), widget);
        gtk_widget_show (scroll);
 


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