'Remove a registered shortcut. You need to call finalize() after you are
done unregistering.'

def unregister_shortcut(self, unique_name):

    self.shortcuts.pop(unique_name, None)
    for group in self.groups.itervalues():
        try:
            group.remove(unique_name)
        except ValueError:
            pass
