From 529f5acb5e8ed2181f07fa8738ddc0b4cce0c3c5 Mon Sep 17 00:00:00 2001 From: Morgan Collett Date: Fri, 18 Jan 2008 11:21:42 +0000 Subject: #6066: Make web links copied to clipboard, pasteable in Write, Browse, Terminal --- diff --git a/NEWS b/NEWS index f49e6fa..90025b6 100644 --- a/NEWS +++ b/NEWS @@ -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 -- cgit v0.9.1