[gedit] Fix an exception, but the manager does not work yet.



commit 5699b7cdb14fc34f0be87917bed79503b4964d86
Author: Paolo Borelli <pborelli gnome org>
Date:   Tue Mar 22 00:59:30 2011 +0100

    Fix an exception, but the manager does not work yet.

 plugins/snippets/snippets/__init__.py          |    1 -
 plugins/snippets/snippets/windowactivatable.py |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plugins/snippets/snippets/__init__.py b/plugins/snippets/snippets/__init__.py
index f843b15..c20bf41 100644
--- a/plugins/snippets/snippets/__init__.py
+++ b/plugins/snippets/snippets/__init__.py
@@ -75,7 +75,6 @@ class AppActivatable(GObject.Object, Gedit.AppActivatable, PeasGtk.Configurable)
                 dirs.append(self.plugin_info.get_data_dir())
                 return dirs
 
-
         def do_create_configure_widget(self):
                 builder = Gtk.Builder()
                 builder.add_from_file(os.path.join(self.plugin_info.get_data_dir(), 'ui', 'snippets.ui'))
diff --git a/plugins/snippets/snippets/windowactivatable.py b/plugins/snippets/snippets/windowactivatable.py
index a474d37..11d6135 100644
--- a/plugins/snippets/snippets/windowactivatable.py
+++ b/plugins/snippets/snippets/windowactivatable.py
@@ -199,7 +199,7 @@ class WindowActivatable(GObject.Object, Gedit.WindowActivatable):
 
                 self.do_update_state()
 
-        def on_action_snippets_activate(self, item):
+        def on_action_snippets_activate(self, action, data):
                 #self.plugin.create_configure_dialog()
                 pass
 



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