[geary/wip/xdg-email-attach-713865] Use path, not URI,	when attaching files in mailto
- From: Charles Lindsay <clindsay src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [geary/wip/xdg-email-attach-713865] Use path, not URI,	when attaching files in mailto
- Date: Thu,  6 Mar 2014 23:15:56 +0000 (UTC)
commit 2710dabf6c772a0c04930cfd0fcb357b946e15be
Author: Charles Lindsay <chaz yorba org>
Date:   Thu Mar 6 15:15:10 2014 -0800
    Use path, not URI, when attaching files in mailto
 src/client/composer/composer-window.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/client/composer/composer-window.vala b/src/client/composer/composer-window.vala
index 9a295ca..d0a83e4 100644
--- a/src/client/composer/composer-window.vala
+++ b/src/client/composer/composer-window.vala
@@ -501,9 +501,9 @@ public class ComposerWindow : Gtk.Window {
                     Geary.Collection.get_first(headers.get("body"))));
             
             foreach (string attachment in headers.get("attach"))
-                add_attachment(File.new_for_uri(attachment));
+                add_attachment(File.new_for_path(attachment));
             foreach (string attachment in headers.get("attachment"))
-                add_attachment(File.new_for_uri(attachment));
+                add_attachment(File.new_for_path(attachment));
         }
     }
     
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]