summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2003-08-27 12:10:04 +0000
committerGlynn Foster <gman@src.gnome.org>2003-08-27 12:10:04 +0000
commitd02a5bcd112cf475f7312d234e02c4c761dd9e1f (patch)
tree353280abeb1f0f4408194b2558c434642a86d8d1 /src
parentUpdated Slovenian translation (diff)
downloadzenity-d02a5bcd112cf475f7312d234e02c4c761dd9e1f.tar.gz
zenity-d02a5bcd112cf475f7312d234e02c4c761dd9e1f.tar.bz2
zenity-d02a5bcd112cf475f7312d234e02c4c761dd9e1f.zip
Put horizontal scrolling on automatic, otherwise we expand off the edge of
2003-08-27 Glynn Foster <glynn.foster@sun.com> * src/tree.c: Put horizontal scrolling on automatic, otherwise we expand off the edge of the screen.
Diffstat (limited to 'src')
-rw-r--r--src/tree.c4
1 files changed, 2 insertions, 2 deletions
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;
bgstack15