We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b627375 + 9380381 commit 97578f1Copy full SHA for 97578f1
src/MainWindow.vala
@@ -85,6 +85,13 @@ public class Badger.MainWindow : Gtk.Window {
85
86
// Avoid a bug whence reopened windows cannot be closed
87
private bool before_destroy () {
88
+ debug ("Window closed!");
89
+
90
+ if (!settings.get_boolean ("all")) {
91
+ debug ("All reminders are disabled, Badger will now go to sleep");
92
+ application.quit ();
93
+ };
94
95
return false;
96
}
97
0 commit comments