GNOME Bugzilla – Bug 766066
entryArea: Support pasting text/image content from files
Last modified: 2016-05-10 19:51:07 UTC
See patch. Bug 755573 is related, but as I'm only adding support for the existing formats/services, I'll leave the other bug for supporting generic file uploads. Note that I'll attach two variants of the same patch - the second one avoids adding new strings, so we can apply it to the stable branch without breaking the string freeze.
Created attachment 327399 [details] [review] entryArea: Support pasting text/image content from files For users, it is not immediately obvious why they can copy file contents in a text/image editor and paste it into Polari for uploading, but trying to paste the file itself only inserts a (most likely useless) URI. Instead, accept file pastes and upload the contents to the appropriate service if possible.
Created attachment 327400 [details] [review] entryArea: Support pasting text/image content from files (same patch for the gnome-3-20 branch)
Attachment 327399 [details] pushed as 1efcc6d - entryArea: Support pasting text/image content from files Attachment 327400 [details] pushed as 1efcc6d - entryArea: Support pasting text/image content from files