Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
XNAT-Group
XNAT_Query_Client_XSA
Commits
d7538d45
Commit
d7538d45
authored
Feb 19, 2015
by
Franziska Koehn
Browse files
delete-event connected for disconnect from server
parent
af2532d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
xsagtk/xsa_app_main.py
View file @
d7538d45
...
...
@@ -36,6 +36,11 @@ class XsaApp(gtk.Window):
self
.
connect
(
"destroy"
,
gtk
.
main_quit
)
self
.
set_title
(
"xsa"
)
def
on_delete_event
(
*
_
):
import
xsa.queries
xsa
.
queries
.
disconnect_xnat_server
()
self
.
connect
(
"delete-event"
,
on_delete_event
)
vbox_root
=
gtk
.
VBox
(
False
,
1
)
...
...
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