idle_add refactor for event source clearing; Gtk main call moved

This commit is contained in:
2024-01-03 20:36:17 -06:00
parent 37e3265be5
commit 8e5ae4824c
7 changed files with 37 additions and 20 deletions

View File

@@ -87,12 +87,14 @@ class Window(Gtk.ApplicationWindow):
cr.set_operator(cairo.OPERATOR_SOURCE)
cr.paint()
cr.set_operator(cairo.OPERATOR_OVER)
def _load_interactive_debug(self):
self.set_interactive_debugging(True)
def _tear_down(self, widget = None, eve = None):
event_system.emit("shutting_down")
settings_manager.clear_pid()
Gtk.main_quit()
Gtk.main_quit()
def main(self):
Gtk.main()