summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesystem.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-03-15 06:09:40 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-03-15 06:09:40 +0000
commit2c9d190c09c179a834730d923afe26d0eb70b880 (patch)
treebf71600d67d1752e3b183563986aacb46844f69a /gtk/gtkfilesystem.h
parent084bb2fe391b4117aed6903b46840f334e53a51a (diff)
downloadgtk+-2c9d190c09c179a834730d923afe26d0eb70b880.tar.gz
Implement local_only by filtering the shortcuts and bookmarks list by
Sun Mar 14 23:36:15 2004 Owen Taylor <otaylor@redhat.com> * gtk/gtkfilechooserdefault.c: Implement local_only by filtering the shortcuts and bookmarks list by gtk_file_system_path_to_filename (file_system, path) != NULL. (#132894) * gtk/gtkfilesystem.c (gtk_file_system_path_is_local): Add a convenience function, may by interesting to push to the file system vtable later for performance.
Diffstat (limited to 'gtk/gtkfilesystem.h')
-rw-r--r--gtk/gtkfilesystem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkfilesystem.h b/gtk/gtkfilesystem.h
index 8503ff1ea0..98c80b8498 100644
--- a/gtk/gtkfilesystem.h
+++ b/gtk/gtkfilesystem.h
@@ -256,6 +256,9 @@ GtkFilePath *gtk_file_system_uri_to_path (GtkFileSystem *file_system,
GtkFilePath *gtk_file_system_filename_to_path (GtkFileSystem *file_system,
const gchar *filename);
+gboolean gtk_file_system_path_is_local (GtkFileSystem *filesystem,
+ const GtkFilePath *path);
+
GdkPixbuf *gtk_file_system_render_icon (GtkFileSystem *file_system,
const GtkFilePath *path,
GtkWidget *widget,