From d02a5bcd112cf475f7312d234e02c4c761dd9e1f Mon Sep 17 00:00:00 2001 From: Glynn Foster Date: Wed, 27 Aug 2003 12:10:04 +0000 Subject: Put horizontal scrolling on automatic, otherwise we expand off the edge of 2003-08-27 Glynn Foster * src/tree.c: Put horizontal scrolling on automatic, otherwise we expand off the edge of the screen. --- src/tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/tree.c b/src/tree.c index 73e9565..aaf513c 100644 --- a/src/tree.c +++ b/src/tree.c @@ -160,7 +160,7 @@ zenity_tree_handle_stdin (GIOChannel *channel, scrolled_window = glade_xml_get_widget (glade_dialog, "zenity_tree_window"); gtk_widget_set_size_request (scrolled_window, -1, rectangle.height); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window), - GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); + GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); } column_count ++; @@ -235,7 +235,7 @@ zenity_tree_fill_entries (GtkTreeView *tree_view, scrolled_window = glade_xml_get_widget (glade_dialog, "zenity_tree_window"); gtk_widget_set_size_request (scrolled_window, -1, rectangle.height); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window), - GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); + GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); } i += n_columns; -- cgit v1.2.3-54-g00ecf