[simple-scan] Fix email sending failing with PDF attachments



commit 6990573196505dbf3e3e79c5e409a971ae8078b8
Author: Robert Ancell <robert ancell canonical com>
Date:   Mon Jan 22 15:15:50 2018 +1300

    Fix email sending failing with PDF attachments

 src/app-window.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/app-window.vala b/src/app-window.vala
index 2cd75ee..94aacd8 100644
--- a/src/app-window.vala
+++ b/src/app-window.vala
@@ -1193,7 +1193,7 @@ public class AppWindow : Gtk.ApplicationWindow
             yield book.save_async (type, settings.get_int ("jpeg-quality"), file, null, null);
             var command_line = "xdg-email";
             if (type == "pdf")
-                command_line += "--attach %s".printf (file.get_path ());
+                command_line += " --attach %s".printf (file.get_path ());
             else
             {
                 for (var i = 0; i < book.n_pages; i++) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]