Merge lp:~elementary-apps/pantheon-terminal/new-protocols into lp:~elementary-apps/pantheon-terminal/trunk

Proposed by David Gomes
Status: Merged
Merge reported by: David Gomes
Merged at revision: not available
Proposed branch: lp:~elementary-apps/pantheon-terminal/new-protocols
Merge into: lp:~elementary-apps/pantheon-terminal/trunk
Diff against target: 12 lines (+1/-1)
1 file modified
src/TerminalWidget.vala (+1/-1)
To merge this branch: bzr merge lp:~elementary-apps/pantheon-terminal/new-protocols
Reviewer Review Type Date Requested Status
Fabian Thoma Approve
Review via email: mp+128801@code.launchpad.net

Description of the change

Added some basic protocol. It has to be improved in the future, but this will do for now.

To post a comment you must log in.
Revision history for this message
Fabian Thoma (fabianthoma) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/TerminalWidget.vala'
2--- src/TerminalWidget.vala 2012-09-13 18:16:26 +0000
3+++ src/TerminalWidget.vala 2012-10-09 19:44:20 +0000
4@@ -123,7 +123,7 @@
5 Gtk.drag_dest_set (this, Gtk.DestDefaults.ALL, {target}, Gdk.DragAction.COPY);
6
7 /* Make Links Clickable */
8- this.clickable("""(https?|ftps?)://\S+""");
9+ this.clickable("""(https?|ftps?|irc|sftp|ldaps?|nfs|smb|rsync|ssh|rlogin|telnet|git|git+ssh|bzr|bzr+ssh|svn|svn+ssh|hg|mailto|magnet|)://\S+""");
10 }
11
12 void on_child_exited () { }

Subscribers

People subscribed via source and target branches