summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesystemmodel.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2009-06-24 22:43:14 +0200
committerBenjamin Otte <otte@gnome.org>2009-10-15 22:01:09 +0200
commit5a31dfd66beabb43206a6c23a699a3297cd9cac3 (patch)
treeab46eca367a7da6a8c8ca5cbbf8c9754d1e810f3 /gtk/gtkfilesystemmodel.h
parent390a3910f51fbb101bf6959ff681ab3df9556394 (diff)
downloadgtk+-5a31dfd66beabb43206a6c23a699a3297cd9cac3.tar.gz
Convert search to use a GtkFileSystemModel
Replace the list model code with the file system model and use all the file system model API niceties we get from that. Also adds the function _gtk_file_system_model_add_and_query_file() which g_file_query_info()'s the file before adding it, so it gets added with the right information.
Diffstat (limited to 'gtk/gtkfilesystemmodel.h')
-rw-r--r--gtk/gtkfilesystemmodel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkfilesystemmodel.h b/gtk/gtkfilesystemmodel.h
index d27a647007..0ff4450054 100644
--- a/gtk/gtkfilesystemmodel.h
+++ b/gtk/gtkfilesystemmodel.h
@@ -67,6 +67,9 @@ const GValue * _gtk_file_system_model_get_value (GtkFileSystemModel
void _gtk_file_system_model_add_file (GtkFileSystemModel *model,
GFile *file,
GFileInfo *info);
+void _gtk_file_system_model_add_and_query_file (GtkFileSystemModel *model,
+ GFile *file,
+ const char *attributes);
void _gtk_file_system_model_remove_file (GtkFileSystemModel *model,
GFile *file);
void _gtk_file_system_model_update_file (GtkFileSystemModel *model,