gtranslator r3531 - in trunk: . plugins/insert-tags



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]