1
# Terminator by Chris Jones <cmsj@tenshu.net?
3
"""terminal_menu.py - Default plugins for the terminal menu"""
5
import terminatorlib.plugin as plugin
7
# Every plugin you want Terminator to load *must* be listed in 'available'
9
# This is commented out because we don't want any menu item plugins by default
10
#available = ['MyFirstMenuItem']
13
class MyFirstMenuItem(plugin.MenuItem):
14
"""Simple proof of concept"""
15
capabilities = ['terminal_menu']
17
def callback(self, menuitems, menu, terminal):
18
"""Add our menu items to the menu"""
19
item = gtk.MenuItem('Some Menu Text')
20
menuitems.append(item)