summaryrefslogtreecommitdiff
path: root/Mozo/MainWindow.py
diff options
context:
space:
mode:
authorStefano Facchini <[email protected]>2013-08-26 18:34:35 +0200
committerAlexei Sorokin <[email protected]>2016-08-23 00:55:57 +0300
commitb492111a8e920d390540055023e5e5b00dcaf95e (patch)
tree52e4b51b7a191e317f449085e0f0add253818b1e /Mozo/MainWindow.py
parentc31073e481f5d5b41bf836be413bf04f2f20221b (diff)
downloadmozo-b492111a8e920d390540055023e5e5b00dcaf95e.tar.bz2
mozo-b492111a8e920d390540055023e5e5b00dcaf95e.tar.xz
quit on delete event
https://bugzilla.gnome.org/show_bug.cgi?id=706821
Diffstat (limited to 'Mozo/MainWindow.py')
-rw-r--r--Mozo/MainWindow.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mozo/MainWindow.py b/Mozo/MainWindow.py
index bf6affa..63231df 100644
--- a/Mozo/MainWindow.py
+++ b/Mozo/MainWindow.py
@@ -299,6 +299,9 @@ class MainWindow:
return False
return True
+ def on_delete_event(self, widget, event):
+ self.quit()
+
def on_new_menu_button_clicked(self, button):
menu_tree = self.tree.get_object('menu_tree')
menus, iter = menu_tree.get_selection().get_selected()