[Xfce4-commits] <postler:master> Linkify geo: URIs to render as hyperlinks

Christian Dywan noreply at xfce.org
Thu Aug 4 03:20:07 CEST 2011


Updating branch refs/heads/master
         to 6d75788d794f7770dde1b55aa41e1b50397fdbff (commit)
       from f923f98e4e92736b1b61f364f4bc7c6cc76d4c18 (commit)

commit 6d75788d794f7770dde1b55aa41e1b50397fdbff
Author: Christian Dywan <christian at twotoasts.de>
Date:   Thu Aug 4 01:08:04 2011 +0200

    Linkify geo: URIs to render as hyperlinks

 postler/postler-content.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/postler/postler-content.vala b/postler/postler-content.vala
index de2e03a..8578d09 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -408,6 +408,7 @@ public class Postler.Content : WebKit.WebView {
 
     const string[] link_formats = {
         "(https?:\\/\\/[^\\s\\<]+)",
+        "(geo:[^/][0-9]+[.][0-9]+[,][0-9]+[.][0-9]+)",
         "([a-zA-Z0-9.\\-]+@[a-zA-Z0-9.\\-]+[a-zA-Z0-9.]+)"
     };
 


More information about the Xfce4-commits mailing list