(self, liststore, path)
Handle the clearing of a keybinding accelerator
Handle the clearing of a keybinding accelerator
Handle the clearing of a keybinding accelerator
def on_cellrenderer_accel_cleared(self, liststore, path):
        """Handle the clearing of a keybinding accelerator"""
        celliter = liststore.get_iter_from_string(path)
        liststore.set(celliter, 2, 0, 3, 0)

        binding = liststore.get_value(liststore.get_iter(path), 0)
        self.config['keybindings'][binding] = ""
        self.config.save()
def on_cellrenderer_accel_cleared ( self , liststore , path ) : celliter = liststore . get_iter_from_string ( path ) liststore . set ( celliter , 2 , 0 , 3 , 0 ) binding = liststore . get_value ( liststore . get_iter ( path ) , 0 ) self . config [ 'keybindings' ] [ binding ] = "" self . config . save ( )