summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorcristian64 <[email protected]>2023-11-24 13:32:22 +0000
committerraveit65 <[email protected]>2023-12-10 18:46:43 +0100
commit9d043b40b70fd48d0297e7768cb940197ff9245c (patch)
tree78aba320849f2b0375fe21b262d2b7d1c6deea9d /po
parent97351f49ee3b9510f76b4e0c2a997ae334940de8 (diff)
downloadmate-terminal-9d043b40b70fd48d0297e7768cb940197ff9245c.tar.bz2
mate-terminal-9d043b40b70fd48d0297e7768cb940197ff9245c.tar.xz
Avoid unprocessed file URIs being pasted to the terminal.
The `uris_as_paths` member, which is set to `true` when the paste command has been triggered by the **Paste Filenames** action, was being checked too late: a file URI was ultimately being entered to the terminal, as opposed to the expected plain text version. Test plan: - Copy a file in Caja, or in any other file explorer that inserts the `text/uri-list` and `text/plain` MIME formats into the clipboard. - Paste the file in a MATE Terminal either via `Ctrl+Shift+V`, or via the **Paste** action in the context menu. Without this change, a file URI is entered. For example: ``` file:///home/jane.doe/my%20pictures/foo%20bar.jpg ``` With this change, a regular filepath [that the filesystem can recognize] is pasted. For example: ``` /home/jane.doe/my pictures/foo bar.jpg ``` Note that the behavior of the **Paste Filenames** context menu action remains unchanged (i.e. file URIs are still converted to regular paths surrounded by single quotes).
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions