diff options
author | Morgan Collett <morgan.collett@gmail.com> | 2008-01-18 11:21:42 (GMT) |
---|---|---|
committer | Morgan Collett <morgan.collett@gmail.com> | 2008-01-18 11:21:42 (GMT) |
commit | 529f5acb5e8ed2181f07fa8738ddc0b4cce0c3c5 (patch) | |
tree | b0ded83e588903a52229f07fb8061c4bd836e4b6 | |
parent | 8913e7b051f7d1ad2ff3f34a14d110331f9e1651 (diff) |
#6066: Make web links copied to clipboard, pasteable in Write, Browse, Terminal
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | pippy_app.py | 6 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,6 @@ +* #6066: Make web links copied to clipboard, pasteable in Write, Browse, + Terminal (morgs) +* Added AUTHORS (morgs) * Updated translations: ps, ca, bg (pootle) 34 diff --git a/pippy_app.py b/pippy_app.py index 44374c1..ed7ee39 100644 --- a/pippy_app.py +++ b/pippy_app.py @@ -455,7 +455,8 @@ class URLMenu(Palette): def _copy_to_clipboard_cb(self, menuitem): logger.debug('Copy %s to clipboard', self.url) clipboard = gtk.clipboard_get() - targets = [("text/uri-list", 0, 0)] + targets = [("text/uri-list", 0, 0), + ("UTF8_STRING", 0, 1)] if not clipboard.set_with_data(targets, self._clipboard_data_get_cb, @@ -493,6 +494,9 @@ CHAT_ICON=\ """ CHAT_NEWS=""" +* #6066: Make web links copied to clipboard, pasteable in Write, Browse, + Terminal (morgs) +* Added AUTHORS (morgs) * Updated translations: ps, ca, bg (pootle) 34 |