# HG changeset patch # User Daniel Atallah # Date 1274029945 0 # Node ID 9945fe7098f7e53b5bd7f6b4cf5f9ed74981eaa4 # Parent 23406bea038f6c4355e52273a7a57512cd0427d4# Parent b3377040edc1fa6b33bf3fdc4f2aef889fc46c1e merge of '8ff2ee29eabe00715f5da3d756f3bf52b9509879' and 'cfa223b3386ae5aea84acf03fb9eb9b741364d29' diff -r b3377040edc1 -r 9945fe7098f7 pidgin/gtkimhtml.c --- a/pidgin/gtkimhtml.c Sun May 16 15:57:51 2010 +0000 +++ b/pidgin/gtkimhtml.c Sun May 16 17:12:25 2010 +0000 @@ -1262,7 +1262,7 @@ #ifdef _WIN32 /* If we're on windows, let's see if we can get data from the HTML Format clipboard before we try to paste from the GTK buffer */ - if (!clipboard_paste_html_win32(imhtml)) { + if (!clipboard_paste_html_win32(imhtml) && gtk_text_view_get_editable(GTK_TEXT_VIEW(imhtml))) { GtkClipboard *clipboard = gtk_widget_get_clipboard(GTK_WIDGET(imhtml), GDK_SELECTION_CLIPBOARD); gtk_clipboard_request_text(clipboard, paste_plaintext_received_cb, imhtml);