From 0eac300378327c440925215536bc641564a4a0a4 Mon Sep 17 00:00:00 2001 From: Dimitur Kirov Date: Sun, 30 Apr 2006 20:05:12 +0000 Subject: [PATCH] fixes 1909 what a silly typo! --- src/filetransfers_window.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/filetransfers_window.py b/src/filetransfers_window.py index 58f93c4f0..a9020d3d4 100644 --- a/src/filetransfers_window.py +++ b/src/filetransfers_window.py @@ -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):