Skip to content
Snippets Groups Projects
Commit 0eac3003 authored by dkirov's avatar dkirov
Browse files

fixes 1909

what a silly typo!
parent 8d35bf38
No related branches found
No related tags found
No related merge requests found
......@@ -325,6 +325,8 @@ _('Connection with peer cannot be established.'))
dialog = dialogs.FTOverwriteConfirmationDialog(
_('This file already exists'), _('What do you want to do?'),
not dl_finished)
dialog.set_transient_for(dialog2)
dialog.set_destroy_with_parent(True)
response = dialog.get_response()
if response < 0:
return
......@@ -505,7 +507,7 @@ _('Connection with peer cannot be established.'))
if file_props.has_key('connected') and file_props['connected'] == False:
status = 'stop'
self.model.set(iter, 0, self.images[status])
if percent == 100:
if transfered_size == full_size:
self.set_status(typ, sid, 'ok')
def get_iter_by_sid(self, typ, sid):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment