Mercurial > pidgin.yaz
changeset 30593:bed884491864
merge of '52f4817b6a7b2db5cad41758c4911c0f20f77eb2'
and 'dfe958320740154e5d306f62dd8e7d260970ec29'
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 06 Jun 2010 02:17:36 +0000 |
parents | d88c15d3d8fa (current diff) 9e7fc6d8ee18 (diff) |
children | dd6575f20790 aaec35719201 |
files | |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkimhtml.c Sat Jun 05 04:16:12 2010 +0000 +++ b/pidgin/gtkimhtml.c Sun Jun 06 02:17:36 2010 +0000 @@ -1353,6 +1353,9 @@ static void imhtml_paste_cb(GtkIMHtml *imhtml, const char *str) { + if (!gtk_text_view_get_editable(GTK_TEXT_VIEW(imhtml))) + return; + if (!str || !*str || !strcmp(str, "html")) g_signal_emit_by_name(imhtml, "paste_clipboard"); else if (!strcmp(str, "text"))