Commit 59708447 authored by Anders Carlsson's avatar Anders Carlsson Committed by Anders Carlsson

If max_depth is 0 then we have a list.

2004-03-08  Anders Carlsson  <andersca@gnome.org>

	* gtk/gtkfilesystemmodel.c (gtk_file_system_model_get_flags):
	If max_depth is 0 then we have a list.
parent d558abfe
2004-03-08 Anders Carlsson <andersca@gnome.org>
* gtk/gtkfilesystemmodel.c (gtk_file_system_model_get_flags):
If max_depth is 0 then we have a list.
2004-03-08 Morten Welinder <terra@gnome.org>
* gtk/gtkpathbar.c (_gtk_path_bar_set_path): If we fail, leave
......
2004-03-08 Anders Carlsson <andersca@gnome.org>
* gtk/gtkfilesystemmodel.c (gtk_file_system_model_get_flags):
If max_depth is 0 then we have a list.
2004-03-08 Morten Welinder <terra@gnome.org>
* gtk/gtkpathbar.c (_gtk_path_bar_set_path): If we fail, leave
......
2004-03-08 Anders Carlsson <andersca@gnome.org>
* gtk/gtkfilesystemmodel.c (gtk_file_system_model_get_flags):
If max_depth is 0 then we have a list.
2004-03-08 Morten Welinder <terra@gnome.org>
* gtk/gtkpathbar.c (_gtk_path_bar_set_path): If we fail, leave
......
2004-03-08 Anders Carlsson <andersca@gnome.org>
* gtk/gtkfilesystemmodel.c (gtk_file_system_model_get_flags):
If max_depth is 0 then we have a list.
2004-03-08 Morten Welinder <terra@gnome.org>
* gtk/gtkpathbar.c (_gtk_path_bar_set_path): If we fail, leave
......
2004-03-08 Anders Carlsson <andersca@gnome.org>
* gtk/gtkfilesystemmodel.c (gtk_file_system_model_get_flags):
If max_depth is 0 then we have a list.
2004-03-08 Morten Welinder <terra@gnome.org>
* gtk/gtkpathbar.c (_gtk_path_bar_set_path): If we fail, leave
......
......@@ -315,7 +315,7 @@ gtk_file_system_model_get_flags (GtkTreeModel *tree_model)
GtkFileSystemModel *model = GTK_FILE_SYSTEM_MODEL (tree_model);
GtkTreeModelFlags flags = GTK_TREE_MODEL_ITERS_PERSIST;
if (model->max_depth == 1)
if (model->max_depth == 0)
flags |= GTK_TREE_MODEL_LIST_ONLY;
return flags;
......
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