diff --git a/TimerMainWindow.c b/TimerMainWindow.c index 0ef12cb..dc97060 100644 --- a/TimerMainWindow.c +++ b/TimerMainWindow.c @@ -439,6 +439,7 @@ static gboolean mini_window_delete_event(TimerMiniWindow *win, GdkEvent *evt, Ti if (resp != GTK_RESPONSE_NO) { main->miniWindowMode = FALSE; gtk_widget_destroy(GTK_WIDGET(main)); + return TRUE; } } main->miniWindowMode = FALSE; diff --git a/TimerMiniWindow.c b/TimerMiniWindow.c index 04bbe89..5a0ddbf 100644 --- a/TimerMiniWindow.c +++ b/TimerMiniWindow.c @@ -60,5 +60,4 @@ void timer_mini_window_class_init(TimerMiniWindowClass *class) { void timer_mini_window_init(TimerMiniWindow *self) { gtk_widget_init_template(GTK_WIDGET(self)); - gtk_widget_set_sensitive(self->resetButton, FALSE); } diff --git a/ui/mini-window.glade b/ui/mini-window.glade index 701a5a3..d14ee41 100644 --- a/ui/mini-window.glade +++ b/ui/mini-window.glade @@ -70,6 +70,7 @@ Save True + False True True