gedit-plugins r406 - trunk/plugins/bracketcompletion



Author: pborelli
Date: Sun Nov 30 16:10:09 2008
New Revision: 406
URL: http://svn.gnome.org/viewvc/gedit-plugins?rev=406&view=rev

Log:
fix typo


Modified:
   trunk/plugins/bracketcompletion/bracketcompletion.py

Modified: trunk/plugins/bracketcompletion/bracketcompletion.py
==============================================================================
--- trunk/plugins/bracketcompletion/bracketcompletion.py	(original)
+++ trunk/plugins/bracketcompletion/bracketcompletion.py	Sun Nov 30 16:10:09 2008
@@ -236,13 +236,13 @@
         removed_hid = window.connect("tab-removed",
                                      lambda w, t: self.remove_helper(t.get_view()))
         window.set_data(self.WINDOW_DATA_KEY, (added_hid, removed_hid))
-    
+
     def deactivate(self, window):
         handlers = window.get_data(self.WINDOW_DATA_KEY)
         for handler_id in handlers:
-            window.disconnect(handler)
+            window.disconnect(handler_id)
         window.set_data(self.WINDOW_DATA_KEY, None)
-        
+
         for view in window.get_views():
             self.remove_helper(view)
 



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