[Xfce4-commits] <postler:master> Recognise leading ? as a mailto string
Christian Dywan
noreply at xfce.org
Thu Dec 30 06:00:10 CET 2010
Updating branch refs/heads/master
to 95d29fd49570d127700bb198116dcd82f0ff4c67 (commit)
from 4651968ba6689f75dee664e1a78ed23a0aa98106 (commit)
commit 95d29fd49570d127700bb198116dcd82f0ff4c67
Author: Christian Dywan <christian at twotoasts.de>
Date: Wed Dec 29 20:07:03 2010 +0100
Recognise leading ? as a mailto string
The 'Send To' feature in libexo expects this behaviour.
postler/postler-reader.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/postler/postler-reader.vala b/postler/postler-reader.vala
index ba62b74..f4dcb4b 100644
--- a/postler/postler-reader.vala
+++ b/postler/postler-reader.vala
@@ -61,9 +61,10 @@ public class Postler.Reader {
Log.set_handler (null, LogLevelFlags.LEVEL_DEBUG, handler);
}
- /* mailto or @ implies compose, otherwise file implies content */
+ /* mailto, ? or @ implies compose, otherwise file implies content */
if (module == null && filenames != null && filenames[0] != null) {
if (filenames[0].has_prefix ("mailto:")
+ || filenames[0].has_prefix ("?")
|| filenames[0].str ("@") != null)
module = "compose";
else
More information about the Xfce4-commits
mailing list