gtranslator r3531 - in trunk: . plugins/insert-tags
- From: icq svn gnome org
- To: svn-commits-list gnome org
- Subject: gtranslator r3531 - in trunk: . plugins/insert-tags
- Date: Fri, 28 Mar 2008 13:10:39 +0000 (GMT)
Author: icq
Date: Fri Mar 28 13:10:38 2008
New Revision: 3531
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3531&view=rev
Log:
2008-03-28 Ignacio Casal Quinteiro <nacho resa gmail com>
* plugins/insert-tags/insert-tags-plugin.c:
Now the insertion in managed as an user action.
Modified:
trunk/ChangeLog
trunk/plugins/insert-tags/insert-tags-plugin.c
Modified: trunk/plugins/insert-tags/insert-tags-plugin.c
==============================================================================
--- trunk/plugins/insert-tags/insert-tags-plugin.c (original)
+++ trunk/plugins/insert-tags/insert-tags-plugin.c Fri Mar 28 13:10:38 2008
@@ -109,11 +109,13 @@
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
+ gtk_text_buffer_begin_user_action (buffer);
gtk_text_buffer_insert_at_cursor (buffer,
str[0], strlen (str[0]));
gtk_text_buffer_insert_at_cursor (gtk_text_view_get_buffer (GTK_TEXT_VIEW (view)),
str[1], strlen (str[1]));
+ gtk_text_buffer_end_user_action (buffer);
gtk_text_buffer_get_iter_at_mark (buffer, &iter,
gtk_text_buffer_get_insert (buffer));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]