[gedit] The plugin must have a do_update_state implementation



commit ed1ab941512ddb807f3a6ce3edd45c761b668aab
Author: Paolo Borelli <pborelli gnome org>
Date:   Wed Dec 8 14:51:11 2010 +0100

    The plugin must have a do_update_state implementation

 plugins/pythonconsole/pythonconsole/__init__.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/pythonconsole/pythonconsole/__init__.py b/plugins/pythonconsole/pythonconsole/__init__.py
index 1c89676..9c9323e 100644
--- a/plugins/pythonconsole/pythonconsole/__init__.py
+++ b/plugins/pythonconsole/pythonconsole/__init__.py
@@ -56,6 +56,9 @@ class PythonConsolePlugin(GObject.Object, Gedit.WindowActivatable, PeasGtk.Confi
         bottom = self.window.get_bottom_panel()
         bottom.remove_item(self._console)
 
+    def do_update_state(self):
+        pass
+
     def do_create_configure_widget(self):
         config_widget = PythonConsoleConfigWidget(self.plugin_info.get_data_dir())
 



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