Updating branch refs/heads/master
         to 2ac7116ef871a322f18519a4aeca4a2d3f29feb9 (commit)
       from 3eb3ff63b6ec50261b2564461793a4b42956987c (commit)

commit 2ac7116ef871a322f18519a4aeca4a2d3f29feb9
Author: Christian Dywan <[email protected]>
Date:   Mon Feb 21 00:17:13 2011 +0100

    Don't mistake a path argument for an address

 postler/postler-reader.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/postler/postler-reader.vala b/postler/postler-reader.vala
index a792753..2178f3e 100644
--- a/postler/postler-reader.vala
+++ b/postler/postler-reader.vala
@@ -68,7 +68,7 @@ public class Postler.Reader {
         if (module == null && filenames != null && filenames[0] != null) {
             if (filenames[0].has_prefix ("mailto:";)
              || filenames[0].has_prefix ("?")
-             || filenames[0].str ("@") != null)
+             || (filenames[0].chr (-1, '@') != null && filenames[0].chr (-1, 
'/') == null))
                 module = "compose";
             else
                 module = "content";
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to