[gedit-plugins/gnome-2-32] [synctex] Fix adding helpers when activating the plugin.



commit 8c043d6acb5d250e9ea79d711e3ba3baf11ebd28
Author: José Aliste <jaliste src gnome org>
Date:   Sun Sep 12 13:17:07 2010 -0400

    [synctex] Fix adding helpers when activating the plugin.

 plugins/synctex/synctex/synctex.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/synctex/synctex/synctex.py b/plugins/synctex/synctex/synctex.py
index f3e92a3..f613c22 100644
--- a/plugins/synctex/synctex/synctex.py
+++ b/plugins/synctex/synctex/synctex.py
@@ -223,7 +223,7 @@ class SynctexWindowHelper:
         self._insert_menu()
 
         for view in window.get_views():
-            self.add_helper(view)
+            self.add_helper(view, window, view.get_parent().get_parent())
 
         self.handlers = [
             window.connect("tab-added", lambda w, t: self.add_helper(t.get_view(),w, t)),



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