[gnome-packagekit/gnome-2-32] When showing the dep dialog, allow the addition packages to scroll horizontally. Fixes rh#585554



commit 5aeed5c6d4aa0239b9e57e4fd09e268f175c27ea
Author: Richard Hughes <richard hughsie com>
Date:   Mon Apr 26 13:34:23 2010 +0100

    When showing the dep dialog, allow the addition packages to scroll horizontally. Fixes rh#585554

 src/gpk-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-dialog.c b/src/gpk-dialog.c
index 680a41b..5feb288 100644
--- a/src/gpk-dialog.c
+++ b/src/gpk-dialog.c
@@ -194,7 +194,7 @@ gpk_dialog_embed_package_list_widget (GtkDialog *dialog, GPtrArray *array)
 
 	/* scroll the treeview */
 	scroll = gtk_scrolled_window_new (NULL, NULL);
-	gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
+	gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
 	gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (scroll), widget);
 	gtk_widget_show (scroll);
 



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