Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
norstbox
gajim
Commits
dfc34367
Commit
dfc34367
authored
Sep 15, 2006
by
Yann Leboulanger
Browse files
fix TB when error in FT. Fixes #2418
parent
87a2ff3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/filetransfers_window.py
View file @
dfc34367
...
...
@@ -450,8 +450,10 @@ _('Connection with peer cannot be established.'))
for
ev_type
in
(
'file-error'
,
'file-completed'
,
'file-request-error'
,
'file-send-error'
,
'file-stopped'
):
for
event
in
gajim
.
events
.
get_events
(
account
,
jid
,
[
ev_type
]):
if
event
.
parameters
[
1
][
'sid'
]
==
file_props
[
'sid'
]:
if
event
.
parameters
[
'sid'
]
==
file_props
[
'sid'
]:
gajim
.
events
.
remove_events
(
account
,
jid
,
event
)
gajim
.
interface
.
roster
.
draw_contact
(
jid
,
account
)
gajim
.
interface
.
roster
.
show_title
()
del
(
self
.
files_props
[
sid
[
0
]][
sid
[
1
:]])
del
(
file_props
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment