comparison cagou/core/menu.py @ 429:cebf657d78ef

core (menu): fixed transfer callback arguments order
author Goffi <goffi@goffi.org>
date Sun, 01 Mar 2020 22:11:25 +0100
parents 5b50b7ef2617
children edb240ff7936
comparison
equal deleted inserted replaced
428:85fc3da9560c 429:cebf657d78ef
261 ) 261 )
262 262
263 def updateTransferInfo(self): 263 def updateTransferInfo(self):
264 self.transfer_info.text = self.getTransferInfo() 264 self.transfer_info.text = self.getTransferInfo()
265 265
266 def _onTransferCb(self, file_path, external, wid_cont, cleaning_cb=None): 266 def _onTransferCb(self, file_path, cleaning_cb=None, external=False, wid_cont=None):
267 if not external: 267 if not external:
268 wid = wid_cont[0] 268 wid = wid_cont[0]
269 self._closeUI(wid) 269 self._closeUI(wid)
270 self.callback( 270 self.callback(
271 file_path, 271 file_path,