mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
stop closing shell window from closing gnucash
This commit is contained in:
parent
e3e11afcb5
commit
e2fd241836
@ -94,8 +94,8 @@ if False:
|
|||||||
window.set_border_width(0)
|
window.set_border_width(0)
|
||||||
# Hm. Gtk.main_quit will kill gnucash without closing the file
|
# Hm. Gtk.main_quit will kill gnucash without closing the file
|
||||||
# properly. That's kinda bad.
|
# properly. That's kinda bad.
|
||||||
window.connect('destroy-event', Gtk.main_quit)
|
# window.connect('destroy-event', Gtk.main_quit)
|
||||||
window.connect('delete-event', Gtk.main_quit)
|
# window.connect('delete-event', Gtk.main_quit)
|
||||||
window.add (console)
|
window.add (console)
|
||||||
window.show_all()
|
window.show_all()
|
||||||
console.grab_focus()
|
console.grab_focus()
|
||||||
|
Loading…
Reference in New Issue
Block a user