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. --- ChangeLog | 5 +++++ src/tree.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 31163a1b..a3d30a01 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-08-27 Glynn Foster + + * src/tree.c: Put horizontal scrolling on automatic, otherwise + we expand off the edge of the screen. + 2003-08-25 Mike Newman * src/entry.c: s/g_printerr/g_print/ - last part of Kevin's patch diff --git a/src/tree.c b/src/tree.c index 73e9565d..aaf513c6 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