'Returns a dictionary of all the event bindings for a particular
extension. The configurable keybindings are returned as they exist in
the dictionary returned by GetCurrentKeySet; that is, where re-used
keybindings are disabled.'

def GetExtensionBindings(self, extensionName):

    bindsName = (extensionName + '_bindings')
    extBinds = self.GetExtensionKeys(extensionName)
    if self.defaultCfg['extensions'].has_section(bindsName):
        eventNames = self.defaultCfg['extensions'].GetOptionList(bindsName)
        for eventName in eventNames:
            binding = self.GetOption('extensions', bindsName, eventName, default='').split()
            event = (('<<' + eventName) + '>>')
            extBinds[event] = binding
    return extBinds
