|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
send_file(self,
account,
contact,
file_path,
file_desc='')
Start the real transfer(upload) of the file |
source code
|
|
|
|
|
|
|
show_file_request(self,
account,
contact,
file_props)
Show dialog asking for comfirmation and store location of new file
requested by a contact |
source code
|
|
|
|
|
|
|
|
|
|
_format_percent(self,
percent)
Add extra spaces from both sides of the percent, so that progress string
has always a fixed size |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
set_progress(self,
typ,
sid,
transfered_size,
iter_=None)
Change the progress of a transfer with new transfered size |
source code
|
|
|
|
|
|
|
get_send_file_props(self,
account,
contact,
file_path,
file_name,
file_desc='')
Create new file_props dict and set initial file transfer properties in it |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set_buttons_sensitive(self,
path,
is_row_selected)
Make buttons/menuitems sensitive as appropriate to the state of file
transfer located at path 'path' |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|