Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/extra/plugin.py
blob: fe95f958f74cae0f9b93d157c2bbda8fb9980cc0 (plain)
1
2
3
4
5
6
7
8
9
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.")