Mercurial > pidgin.yaz
changeset 8566:6eb60b70491e
[gaim-migrate @ 9313]
Brining back rich text copy/paste
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 02 Apr 2004 23:55:46 +0000 |
parents | 52473ca8f2e5 |
children | d92a7574473c |
files | src/gtkimhtml.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkimhtml.c Fri Apr 02 20:54:42 2004 +0000 +++ b/src/gtkimhtml.c Fri Apr 02 23:55:46 2004 +0000 @@ -97,7 +97,7 @@ static guint signals [LAST_SIGNAL] = { 0 }; GtkTargetEntry selection_targets[] = { -/* { "text/html", 0, TARGET_HTML },*/ + { "text/html", 0, TARGET_HTML }, { "UTF8_STRING", 0, TARGET_UTF8_STRING }, { "COMPOUND_TEXT", 0, TARGET_COMPOUND_TEXT }, { "STRING", 0, TARGET_STRING }, @@ -727,13 +727,11 @@ GDK_ACTION_COPY); g_signal_connect(G_OBJECT(imhtml), "drag_data_received", G_CALLBACK(gtk_imhtml_link_drag_rcv_cb), imhtml); -#if 0 /* Remove buggy copy-and-paste for 0.76 */ #if GTK_CHECK_VERSION(2,2,0) g_signal_connect(G_OBJECT(imhtml), "copy-clipboard", G_CALLBACK(copy_clipboard_cb), NULL); g_signal_connect(G_OBJECT(imhtml), "paste-clipboard", G_CALLBACK(paste_clipboard_cb), NULL); g_signal_connect(G_OBJECT(imhtml), "button-release-event", G_CALLBACK(button_release_cb), imhtml); #endif -#endif gtk_widget_add_events(GTK_WIDGET(imhtml), GDK_LEAVE_NOTIFY_MASK); imhtml->tip = NULL;