Allows to exit from Devede by closing the window
This commit is contained in:
parent
ba7beb5a3f
commit
2676ce1658
3 changed files with 13 additions and 1 deletions
|
|
@ -363,7 +363,13 @@ class devede_project:
|
|||
selection.mode = Gtk.SelectionMode.SINGLE
|
||||
|
||||
self.wmain_window.show_all()
|
||||
|
||||
def on_wmain_window_delete_event(self,b,e=None):
|
||||
|
||||
ask = devede.ask.ask_window(self.paths)
|
||||
if (ask.run(_("Abort the current DVD and exit?"),_("Exit DeVeDe"))):
|
||||
Gtk.main_quit()
|
||||
return True
|
||||
|
||||
def on_adjust_disc_usage_clicked(self,b):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue