[Xfce4-commits] <postler:master> Spawn composer for addresses which have no scheme

Christian Dywan noreply at xfce.org
Sat Jun 26 03:22:09 CEST 2010


Updating branch refs/heads/master
         to aa47e3d08f6e35e311704234c5b713c3c7d0baef (commit)
       from a3a59352d800c97bf9515f3a8db27ed4f59eefb7 (commit)

commit aa47e3d08f6e35e311704234c5b713c3c7d0baef
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Jun 23 23:01:42 2010 +0200

    Spawn composer for addresses which have no scheme

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

diff --git a/postler/postler-app.vala b/postler/postler-app.vala
index b64bc03..8027081 100644
--- a/postler/postler-app.vala
+++ b/postler/postler-app.vala
@@ -92,7 +92,7 @@ public class Postler.App : Unique.App {
     public static bool show_uri (Gdk.Screen screen, string uri) {
         string real_uri = uri;
         if (!("://" in uri))
-            real_uri = "mailto:" + uri;
+            return spawn_module ("compose", uri);
 
         try {
             Gtk.show_uri (screen, real_uri, Gtk.get_current_event_time ());



More information about the Xfce4-commits mailing list