Commit fa01b3c7 authored by Maciej Stachowiak's avatar Maciej Stachowiak
Browse files

Only show scroll bars when needed in tree view.

	* components/tree/nautilus-tree-view.c
	(nautilus_tree_view_initialize): Only show scroll bars when needed
	in tree view.
parent 24bfdd95
2000-07-03 Maciej Stachowiak <mjs@eazel.com> 2000-07-03 Maciej Stachowiak <mjs@eazel.com>
* components/tree/nautilus-tree-view.c
(nautilus_tree_view_initialize): Only show scroll bars when needed
in tree view.
* components/tree/nautilus-tree-view.c: * components/tree/nautilus-tree-view.c:
(tree_expand_callback): constness fixes (tree_expand_callback): constness fixes
(nautilus_tree_view_initialize, tree_select_row_callback): (nautilus_tree_view_initialize, tree_select_row_callback):
......
...@@ -694,6 +694,10 @@ nautilus_tree_view_initialize (NautilusTreeView *view) ...@@ -694,6 +694,10 @@ nautilus_tree_view_initialize (NautilusTreeView *view)
{ {
gtk_scrolled_window_set_hadjustment (GTK_SCROLLED_WINDOW (view), NULL); gtk_scrolled_window_set_hadjustment (GTK_SCROLLED_WINDOW (view), NULL);
gtk_scrolled_window_set_vadjustment (GTK_SCROLLED_WINDOW (view), NULL); gtk_scrolled_window_set_vadjustment (GTK_SCROLLED_WINDOW (view), NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (view),
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
view->details = g_new0 (NautilusTreeViewDetails, 1); view->details = g_new0 (NautilusTreeViewDetails, 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment