changeset 29357:36bae5f00d32

Explicitly mark user-interaction when inserting smiley. Fixes #9701.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 03 Feb 2010 18:56:03 +0000
parents f59dd3e9875d
children 5f6571bb128d
files pidgin/gtkimhtml.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkimhtml.c	Wed Feb 03 16:51:13 2010 +0000
+++ b/pidgin/gtkimhtml.c	Wed Feb 03 18:56:03 2010 +0000
@@ -4934,7 +4934,9 @@
 	mark = gtk_text_buffer_get_insert(imhtml->text_buffer);
 
 	gtk_text_buffer_get_iter_at_mark(imhtml->text_buffer, &iter, mark);
+	gtk_text_buffer_begin_user_action(imhtml->text_buffer);
 	gtk_imhtml_insert_smiley_at_iter(imhtml, sml, smiley, &iter);
+	gtk_text_buffer_end_user_action(imhtml->text_buffer);
 }
 
 static gboolean