Hi,
This is a simple patch to have the smb:// files protocol recognized as
URL.
--- Tomboy/Watchers.cs~ 2008-06-13 10:25:38.000000000 +0100
+++ Tomboy/Watchers.cs 2008-06-13 10:25:51.000000000 +0100
@@ -374,7 +374,7 @@
Gtk.TextMark click_mark;
const string URL_REGEX =
-
@"((\b((news|http|https|ftp|file|irc)://|mailto:|(www|ftp)\.|\S*@\S*\.)|(^|\s)/\S+/|(^|\s)~/\S+)\S*\b/?)";
+
@"((\b((news|smb|http|https|ftp|file|irc)://|mailto:|(www|ftp)\.|\S*@\S*\.)|(^|\s)/\S+/|(^|\s)~/\S+)\S*\b/?)";
static Regex regex;
static bool text_event_connected;
Cheers, Chmouel.
Chmouel Boudjnah Intensive Linux System Administrator
Direct: +44 (0) 20 8734 4212
Fax: +44 (0) 20 8606 6111
Please consider the environment before printing this email
Rackspace, 4 The Square, Stockley Park, Uxbridge, UB11 1ET | Company No. 03897010
Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of the
individual or entity to which this message is addressed, and unless otherwise
expressly indicated, is confidential and privileged information of Rackspace.
Any dissemination, distribution or copying of the enclosed material is prohibited.
If you receive this transmission in error, please notify us immediately by e-mail
at
abuse@..., and delete the original message.
Your cooperation is appreciated.
_______________________________________________
Tomboy-list mailing list
Tomboy-list@...
http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com