Patch: Add SMB protocol to watched URL

View: New views
2 Messages — Rating Filter:   Alert me  

Patch: Add SMB protocol to watched URL

by chmouel.boudjnah :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Parent Message unknown Re: Patch: Add SMB protocol to watched URL

by Sandy Armstrong :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Jun 13, 2008 at 2:35 AM,  <chmouel.boudjnah@...> wrote:
> Hi,
>
> This is a simple patch to have the smb:// files protocol recognized as
> URL.

Could you file a bug for this and attach the patch there?  Otherwise,
we're likely to forget all about it.

Thanks,
Sandy
_______________________________________________
Tomboy-list mailing list
Tomboy-list@...
http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com