summaryrefslogtreecommitdiffstats
path: root/g-ed-it/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'g-ed-it/__init__.py')
-rw-r--r--g-ed-it/__init__.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/g-ed-it/__init__.py b/g-ed-it/__init__.py
new file mode 100644
index 0000000..d57f401
--- /dev/null
+++ b/g-ed-it/__init__.py
@@ -0,0 +1,21 @@
+import gedit
+
+import os
+import os.path
+
+import g_ed_it
+
+
+class G_ed_it(gedit.Plugin):
+ def __init__(self):
+ gedit.Plugin.__init__(self)
+ self.instances = {}
+
+ def activate(self, window):
+ self.instances[window] = g_ed_it.PluginHelper(self, window)
+
+ def deactivate(self, window):
+ self.instances[window].deactivate()
+
+ def update_ui(self, window):
+ self.instances[window].update_ui()