parent
8d35bf38af
commit
0eac300378
|
@ -325,6 +325,8 @@ _('Connection with peer cannot be established.'))
|
||||||
dialog = dialogs.FTOverwriteConfirmationDialog(
|
dialog = dialogs.FTOverwriteConfirmationDialog(
|
||||||
_('This file already exists'), _('What do you want to do?'),
|
_('This file already exists'), _('What do you want to do?'),
|
||||||
not dl_finished)
|
not dl_finished)
|
||||||
|
dialog.set_transient_for(dialog2)
|
||||||
|
dialog.set_destroy_with_parent(True)
|
||||||
response = dialog.get_response()
|
response = dialog.get_response()
|
||||||
if response < 0:
|
if response < 0:
|
||||||
return
|
return
|
||||||
|
@ -505,7 +507,7 @@ _('Connection with peer cannot be established.'))
|
||||||
if file_props.has_key('connected') and file_props['connected'] == False:
|
if file_props.has_key('connected') and file_props['connected'] == False:
|
||||||
status = 'stop'
|
status = 'stop'
|
||||||
self.model.set(iter, 0, self.images[status])
|
self.model.set(iter, 0, self.images[status])
|
||||||
if percent == 100:
|
if transfered_size == full_size:
|
||||||
self.set_status(typ, sid, 'ok')
|
self.set_status(typ, sid, 'ok')
|
||||||
|
|
||||||
def get_iter_by_sid(self, typ, sid):
|
def get_iter_by_sid(self, typ, sid):
|
||||||
|
|
Loading…
Reference in New Issue