[gedit-plugins] synctex: call set_sensitive instead of get_sensitive



commit 8385c4de6318ce5542461e54ad040235a314b5ad
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sun Jun 19 11:39:24 2011 +0200

    synctex: call set_sensitive instead of get_sensitive

 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 c00414a..79e8f61 100644
--- a/plugins/synctex/synctex/synctex.py
+++ b/plugins/synctex/synctex/synctex.py
@@ -218,7 +218,7 @@ class SynctexViewHelper:
             for handler in self._view_active_handlers:
                 self._view.disconnect(handler)
 
-            self._window.get_data(WINDOW_DATA_KEY)._action_group.get_sensitive(False)
+            self._window.get_data(WINDOW_DATA_KEY)._action_group.set_sensitive(False)
             self._plugin.unref_evince_proxy(self.out_gfile)
             self.window_proxy = None
 



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