[gedit-latex] snippetmanager: activate the snippet in a specific iter.



commit 3e740bcfaf36047ac5e0cd71f9ae177905652e93
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Oct 10 13:13:09 2011 +0200

    snippetmanager: activate the snippet in a specific iter.
    
    It is needed an updated gedit and pygobject.

 latex/snippetmanager.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/latex/snippetmanager.py b/latex/snippetmanager.py
index 13fb455..deb1ab0 100644
--- a/latex/snippetmanager.py
+++ b/latex/snippetmanager.py
@@ -34,9 +34,8 @@ class SnippetManager(Singleton):
         bus = window.get_message_bus()
 
         if bus.is_registered('/plugins/snippets', 'parse-and-activate'):
-            # FIXME: we miss the iter
             bus.send('/plugins/snippets', 'parse-and-activate',
-                     trigger=text, view=view)
+                     trigger=text, iter=iter, view=view)
             LOG.info("Inserted using snippets plugin")
         else:
             buf = view.get_buffer()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]