not handling local file URI as links
Bug #913251 reported by
Nicolas Maître
This bug affects 8 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTG |
Fix Released
|
Medium
|
Izidor Matušov |
Bug Description
Hi,
The URIs of the type « file://
An example use case is the following task:
- Read a very interesting pdf: file://
It is especially useful since a drag-and-drop of a file to the editor will copy its URI in that form -- at least in my GNOME3 environment.
As the required changes are very small, I've been able to make it work for me. I've attached the patch with the changes. Note that I'm not absolutely sure that the regex covers every case.
Related branches
lp:~gtg-user/gtg/file-attach2
(Merged)
Changed in gtg: | |
assignee: | nobody → Izidor Matušov (izidor) |
status: | Confirmed → In Progress |
Changed in gtg: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Yep, it's a very good idea! The patch looks good (except that a line should not be more than 76 char in order to write "good" python ;-) ). I haven't tested it yet.