Changeset 8630 for branches/gajim_0.11.1/src/filetransfers_window.py
- Timestamp:
- 08/30/07 22:31:29 (15 months ago)
- Files:
-
- 1 modified
-
branches/gajim_0.11.1/src/filetransfers_window.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/gajim_0.11.1/src/filetransfers_window.py
r7787 r8630 145 145 def show_completed(self, jid, file_props): 146 146 ''' show a dialog saying that file (file_props) has been transferred''' 147 self.window.present()148 self.window.window.focus()149 147 def on_open(widget, file_props): 150 148 dialog.destroy() … … 200 198 ''' show error dialog to the recipient saying that transfer 201 199 has been canceled''' 202 self.window.present()203 self.window.window.focus()204 200 dialogs.InformationDialog(_('File transfer cancelled'), _('Connection with peer cannot be established.')) 205 201 self.tree.get_selection().unselect_all() … … 208 204 ''' show error dialog to the sender saying that transfer 209 205 has been canceled''' 210 self.window.present()211 self.window.window.focus()212 206 dialogs.InformationDialog(_('File transfer cancelled'), 213 207 _('Connection with peer cannot be established.')) … … 215 209 216 210 def show_stopped(self, jid, file_props, error_msg = ''): 217 self.window.present()218 self.window.window.focus()219 211 if file_props['type'] == 'r': 220 212 file_name = os.path.basename(file_props['file-name'])
