From 38b9b599161c3288e1389ff674dfddcfc97445ae Mon Sep 17 00:00:00 2001 From: Dimitur Kirov Date: Sun, 7 Aug 2005 13:23:17 +0000 Subject: [PATCH] showing status stopped if not connected --- src/dialogs.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dialogs.py b/src/dialogs.py index 79f51c155..5d1c6abfa 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -766,8 +766,6 @@ class FileTransfersTooltip(BaseTooltip): if file_props['connected'] == False: if file_props['completed']: status = 'completed' - else: - status = 'stopped' else: if file_props.has_key('stopped') and \ file_props['stopped'] == True: @@ -780,6 +778,9 @@ class FileTransfersTooltip(BaseTooltip): status = 'stalled' else: status = 'transfering' + else: + status = 'stopped' + text += status self.text_lable.set_markup(text) self.hbox.add(self.text_lable)