[gnome-sharing-service] mail plugin: add quotes to the sending address



commit f65474e7fa1f7174172c9a1dc313dfae4e771fd3
Author: daniel g. siegel <dgsiegel gnome org>
Date:   Wed Jun 16 01:49:15 2010 +0200

    mail plugin: add quotes to the sending address

 src/plugins/email.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/email.py b/src/plugins/email.py
index 43a1bca..a0b0b55 100644
--- a/src/plugins/email.py
+++ b/src/plugins/email.py
@@ -81,7 +81,7 @@ class EmailSharing(Plugin):
     command = "xdg-email --utf8 --subject 'Shared Files' --body '" + (buffer.get_text(buffer.get_start_iter(), buffer.get_end_iter())) + "'"
     for file in files:
       command = command + " --attach " + file
-    command = command + " " + self.address.get_text()
+    command = command + " '" + self.address.get_text() + "'"
 
     print command
     os.system(command)



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