lib/actions.py
changeset 74 6784c4350b41
parent 73 c078d8a04d76
child 76 147eddb3826c
equal deleted inserted replaced
73:c078d8a04d76 74:6784c4350b41
    22 	def __setitem__(self, key, value):
    22 	def __setitem__(self, key, value):
    23 		self._actions[key] = value
    23 		self._actions[key] = value
    24 		
    24 		
    25 
    25 
    26 actions = ActionsLoader()
    26 actions = ActionsLoader()
    27 actions['default'] = ('index', 'do_it')
       
    28 actions['index'] = ('index', 'do_it')
    27 actions['index'] = ('index', 'do_it')
    29 actions['edit'] = ('edit', 'do_it')
       
    30 actions['import'] = ('imp_xbel', 'do_it')
    28 actions['import'] = ('imp_xbel', 'do_it')
    31 actions['add'] = ('add', 'do_it')
    29 actions['bookmark'] = ('bookmark', 'do_it')
    32 actions['bookmark'] = ('add', 'do_it')
       
    33 actions['keywords'] = ('editkw', 'do_it')
    30 actions['keywords'] = ('editkw', 'do_it')
    34 actions['prefs'] = ('edit_prefs', 'do_it')
    31 actions['prefs'] = ('edit_prefs', 'do_it')
       
    32 actions['folder'] = ('folder', 'do_it')
       
    33 
       
    34 actions['default'] = actions['index']