]> www.fi.muni.cz Git - evince.git/commitdiff
Fix saving images to remote locations.
authorCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 30 Dec 2008 16:12:51 +0000 (16:12 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Tue, 30 Dec 2008 16:12:51 +0000 (16:12 +0000)
2008-12-30  Carlos Garcia Campos  <carlosgc@gnome.org>

* shell/ev-window.c: (image_save_dialog_response_cb):

Fix saving images to remote locations.

svn path=/trunk/; revision=3314

ChangeLog
shell/ev-window.c

index 6167fef149b4fb3ce39137c4d06a6293c9fce0ba..1f20aa1eb87d4bfbe68bdba95c363df048e7222e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-30  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+       * shell/ev-window.c: (image_save_dialog_response_cb):
+
+       Fix saving images to remote locations.
+       
 2008-12-29  Carlos Garcia Campos  <carlosgc@gnome.org>
 
        * shell/ev-application.[ch]: (ev_application_shutdown),
index d53d818720eff8b14497c6e7fd1e5bf85b9de43c..cce1fdc6cdb8a29f7b2fb70553d2bf5043a62baa 100644 (file)
@@ -5332,7 +5332,7 @@ image_save_dialog_response_cb (GtkWidget *fc,
        if (!is_native) {
                GFile *source_file;
                
-               source_file = g_file_new_for_uri (filename);
+               source_file = g_file_new_for_path (filename);
                
                ev_window_save_remote (ev_window, source_file, target_file);
                g_object_unref (source_file);