Mercurial > pidgin.yaz
diff src/gtkimhtml.c @ 5582:e2f2d8857f9f
[gaim-migrate @ 5986]
(00:54:06) Robot101: fixes:
(00:54:21) Robot101: "copy link location" on URL context menu
(00:54:37) Robot101: leak of a GtkWindow and annoying dialog hinting of the signon meter window
(00:55:06) Robot101: and the appending of even when you cancel the dialog in the convo window
(00:55:07) Robot101: that's the lot
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sat, 31 May 2003 04:55:24 +0000 |
parents | fc0441fbf159 |
children | 0a2a32b1917c |
line wrap: on
line diff
--- a/src/gtkimhtml.c Sat May 31 04:35:54 2003 +0000 +++ b/src/gtkimhtml.c Sat May 31 04:55:24 2003 +0000 @@ -294,11 +294,15 @@ g_free(data->url); g_free(data); } + static void url_copy(GtkWidget *w, gchar *url) { GtkClipboard *clipboard; clipboard = gtk_clipboard_get(GDK_SELECTION_PRIMARY); gtk_clipboard_set_text(clipboard, url, -1); + + clipboard = gtk_clipboard_get(GDK_SELECTION_CLIPBOARD); + gtk_clipboard_set_text(clipboard, url, -1); } /* The callback for an event on a link tag. */