summarylogtreecommitdiffstats
path: root/fullwidth-emoji.patch
diff options
context:
space:
mode:
authorRay Song2016-05-07 15:32:46 +0800
committerRay Song2016-05-07 15:33:07 +0800
commit3765f59b0ace9a5d7b05fb5e88062a9dc687dd6f (patch)
tree34f21004af66f459cf60cae49c1809475173b642 /fullwidth-emoji.patch
parent59143402066b299aedf36b42e33c5760a9252731 (diff)
downloadaur-3765f59b0ace9a5d7b05fb5e88062a9dc687dd6f.tar.gz
filesystem:https:// url selection
Diffstat (limited to 'fullwidth-emoji.patch')
-rw-r--r--fullwidth-emoji.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/fullwidth-emoji.patch b/fullwidth-emoji.patch
index ba6ce297fad..a9a1a7aafe5 100644
--- a/fullwidth-emoji.patch
+++ b/fullwidth-emoji.patch
@@ -50,3 +50,18 @@
}
/* Cursor left N columns. */
+diff --git i/src/app.vala w/src/app.vala
+index 8104964..cc871d8 100644
+--- i/src/app.vala
++++ w/src/app.vala
+@@ -214,8 +214,8 @@ class Window : Gtk.ApplicationWindow
+ private uint launch_idle_id;
+
+ private string[] builtin_dingus = {
+- "(((gopher|news|telnet|nntp|file|http|ftp|https)://)|(www|ftp)[-A-Za-z0-9]*\\.)[-A-Za-z0-9\\.]+(:[0-9]*)?",
+- "(((gopher|news|telnet|nntp|file|http|ftp|https)://)|(www|ftp)[-A-Za-z0-9]*\\.)[-A-Za-z0-9\\.]+(:[0-9]*)?/[-A-Za-z0-9_\\$\\.\\+\\!\\*\\(\\),;:@&=\\?/~\\#\\%]*[^]'\\.}>\\) ,\\\"]"
++ "((((filesystem|gopher|news|telnet|nntp|file|http|ftp|https):)+//)|(www|ftp)[-A-Za-z0-9]*\\.)[-A-Za-z0-9\\.]+(:[0-9]*)?",
++ "((((filesystem|gopher|news|telnet|nntp|file|http|ftp|https):)+//)|(www|ftp)[-A-Za-z0-9]*\\.)[-A-Za-z0-9\\.]+(:[0-9]*)?/[-A-Za-z0-9_\\$\\.\\+\\!\\*\\(\\),;:@&=\\?/~\\#\\%]*[^]'\\.}>\\) ,\\\"]"
+ };
+
+ private const GLib.ActionEntry[] action_entries = {