pidgin: d2e3ea90: Explicitly mark user-interaction when in...

sadrul at pidgin.im sadrul at pidgin.im
Thu Feb 4 00:45:48 EST 2010


-----------------------------------------------------------------
Revision: d2e3ea90ebe345cb51c1e0fac73773dbd4930f1a
Ancestor: 2372295461cdcf2b479cc7cda6be083993d9ddae
Author: sadrul at pidgin.im
Date: 2010-02-03T18:56:03
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d2e3ea90ebe345cb51c1e0fac73773dbd4930f1a

Modified files:
        pidgin/gtkimhtml.c

ChangeLog: 

Explicitly mark user-interaction when inserting smiley.

Fixes #9701.

-------------- next part --------------
============================================================
--- pidgin/gtkimhtml.c	f88c9791ca4dfd22ed662b50bf6826393a3ea91b
+++ pidgin/gtkimhtml.c	251c85650db4eedd9afe16526b2862f3f1435dca
@@ -4934,7 +4934,9 @@ void gtk_imhtml_insert_smiley(GtkIMHtml 
 	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


More information about the Commits mailing list