Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/extra/plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'extra/plugin.py')
-rw-r--r--extra/plugin.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/plugin.py b/extra/plugin.py
new file mode 100644
index 0000000..fe95f95
--- /dev/null
+++ b/extra/plugin.py
@@ -0,0 +1,10 @@
+
+import gobject
+
+class Plugin(gobject.GObject):
+ def __init__(self):
+ gobject.GObject.__init__(self)
+
+ def get_menu(self):
+ raise RuntimeError("You need to define get_menu for your plugin.")
+