Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/extra/plugin.py
diff options
context:
space:
mode:
authorRaul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk>2011-01-31 17:26:22 (GMT)
committer Raul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk>2011-01-31 17:39:04 (GMT)
commitcb6bb97d417460c72d9b000bf2bbf05e03cf1296 (patch)
treea170642fe843aa3bbe095380f633adac8792015d /extra/plugin.py
parent32363175926cbc44338c4b79c638843e321e59f0 (diff)
Add collaboration support from Gnome
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.")
+