[gedit] snippets: use the right property



commit 1ae30a3ba978ef30dcc119629b576089b0dd8192
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Fri Sep 30 19:05:48 2011 +0200

    snippets: use the right property

 plugins/snippets/snippets/windowactivatable.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/snippets/snippets/windowactivatable.py b/plugins/snippets/snippets/windowactivatable.py
index 8e81ed3..ead09d4 100644
--- a/plugins/snippets/snippets/windowactivatable.py
+++ b/plugins/snippets/snippets/windowactivatable.py
@@ -137,7 +137,7 @@ class WindowActivatable(GObject.Object, Gedit.WindowActivatable, Signals):
                 
                 #if not iter:
                 iter = view.get_buffer().get_iter_at_mark(view.get_buffer().get_insert())
-                controller.parse_and_run_snippet(message.snippet, iter)
+                controller.parse_and_run_snippet(message.props.trigger, iter)
 
         def insert_menu(self):
                 manager = self.window.get_ui_manager()



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