| 1051 GtkIMHtml *imhtml = data; |
1051 GtkIMHtml *imhtml = data; |
| 1052 |
1052 |
| 1053 if (!gtk_text_view_get_editable(GTK_TEXT_VIEW(imhtml))) |
1053 if (!gtk_text_view_get_editable(GTK_TEXT_VIEW(imhtml))) |
| 1054 return; |
1054 return; |
| 1055 |
1055 |
| 1056 if (selection_data->length < 0) { |
1056 if (imhtml->wbfo || selection_data->length < 0) { |
| 1057 gtk_clipboard_request_text(clipboard, paste_plaintext_received_cb, imhtml); |
1057 gtk_clipboard_request_text(clipboard, paste_plaintext_received_cb, imhtml); |
| 1058 return; |
1058 return; |
| 1059 } else { |
1059 } else { |
| 1060 #if 0 |
1060 #if 0 |
| 1061 /* Here's some debug code, for figuring out what sent to us over the clipboard. */ |
1061 /* Here's some debug code, for figuring out what sent to us over the clipboard. */ |