From 6257b095bcec9b0fd153f5d7d7e2e8f013e2e175 Mon Sep 17 00:00:00 2001 From: Jon Phillips Date: Sun, 11 Feb 2007 04:32:58 +0000 Subject: Added gnome-vfs patch by Ed Catmur so we can save/open/export to non-local GNOME-VFS URIs. We could do before on commandline, but this allows us to with the gui! Yeah! This is useful for the plans for webdav and Open Clip Art Library. (bzr r2357) --- src/dialogs/export.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/dialogs/export.cpp') diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp index 80aaf9c91..c4bea0e1d 100644 --- a/src/dialogs/export.cpp +++ b/src/dialogs/export.cpp @@ -1164,6 +1164,10 @@ sp_export_browse_clicked (GtkButton *button, gpointer userdata) GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, NULL ); +#ifdef WITH_GNOME_VFS + gtk_file_chooser_set_local_only(GTK_FILE_CHOOSER (fs), false); +#endif + fe = (GtkWidget *)g_object_get_data (G_OBJECT (dlg), "filename"); sp_transientize (fs); -- cgit v1.2.3