Show
Ignore:
Timestamp:
08/30/07 22:31:29 (15 months ago)
Author:
roidelapluie
Message:

0.11.2: don't re-open file transfert dialog when a transfert is
finished. fixes #3002

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11.1/src/filetransfers_window.py

    r7787 r8630  
    145145        def show_completed(self, jid, file_props): 
    146146                ''' show a dialog saying that file (file_props) has been transferred''' 
    147                 self.window.present() 
    148                 self.window.window.focus() 
    149147                def on_open(widget, file_props): 
    150148                        dialog.destroy() 
     
    200198                ''' show error dialog to the recipient saying that transfer  
    201199                has been canceled''' 
    202                 self.window.present() 
    203                 self.window.window.focus() 
    204200                dialogs.InformationDialog(_('File transfer cancelled'), _('Connection with peer cannot be established.')) 
    205201                self.tree.get_selection().unselect_all() 
     
    208204                ''' show error dialog to the sender saying that transfer  
    209205                has been canceled''' 
    210                 self.window.present() 
    211                 self.window.window.focus() 
    212206                dialogs.InformationDialog(_('File transfer cancelled'), 
    213207_('Connection with peer cannot be established.')) 
     
    215209 
    216210        def show_stopped(self, jid, file_props, error_msg = ''): 
    217                 self.window.present() 
    218                 self.window.window.focus() 
    219211                if file_props['type'] == 'r': 
    220212                        file_name = os.path.basename(file_props['file-name'])