Exemple #1
0
    def __init__(self, reader):
        self.reader = reader
        self.plugin_attrs = {}

        cmds = {"fetch": (self.cmd_fetch_link, ["link-list"], "Fetch link")}

        register_commands(reader, cmds)

        reader.bind("f", "fetch")
Exemple #2
0
    def __init__(self, taglist):
        self.taglist = taglist
        self.plugin_attrs = {}

        cmds = {"fetch": (self.cmd_fetch_link, ["item-list"], "Fetch link")}

        register_commands(taglist, cmds)

        taglist.bind("f", "fetch")
Exemple #3
0
    def __init__(self, taglist):
        self.plugin_attrs = {}

        cmds = {
            "yank-link" : (self.cmd_yank_link, ["item-list"], "Yank link"),
            "yank-title" : (self.cmd_yank_title, ["item-list"], "Yank title"),
        }
        register_commands(taglist, cmds)

        taglist.bind('y', 'yank-link')
        taglist.bind('Y', 'yank-title')
Exemple #4
0
    def __init__(self, taglist):
        self.plugin_attrs = {}

        cmds = {
            "favorite" : (self.cmd_favorite, ["item-list"], "Favorite items."),
        }
        register_commands(taglist, cmds)

        self.taglist = taglist

        taglist.bind('*', 'favorite')
Exemple #5
0
    def __init__(self, reader):
        self.reader = reader
        self.plugin_attrs = {}

        cmds = {
            "fetch" : (self.cmd_fetch_link, ["link-list"], "Fetch link"),
        }

        register_commands(reader, cmds)

        reader.bind('f', 'fetch')
Exemple #6
0
    def __init__(self, taglist):
        self.taglist = taglist
        self.plugin_attrs = {}

        cmds = {
            "fetch" : (self.cmd_fetch_link, ["item-list"], "Fetch link"),
        }

        register_commands(taglist, cmds)

        taglist.bind('f', 'fetch')
Exemple #7
0
    def __init__(self, taglist):
        self.plugin_attrs = {}

        cmds = {
            "yank-link": (self.cmd_yank_link, ["item-list"], "Yank link"),
            "yank-title": (self.cmd_yank_title, ["item-list"], "Yank title"),
        }
        register_commands(taglist, cmds)

        taglist.bind('y', 'yank-link')
        taglist.bind('Y', 'yank-title')