Add features to the mini window

This commit is contained in:
2022-09-09 16:27:32 -07:00
parent d02e75689b
commit f9905c57c8
6 changed files with 123 additions and 48 deletions
+1 -6
View File
@@ -53,12 +53,7 @@ static void timer_application_activate(GApplication *app) {
gtk_widget_destroy(msgDiag);
}
TimerMainWindow *win = timer_main_window_new(TIMER_APPLICATION(app));
gtk_window_present(GTK_WINDOW(win));
#ifdef IS_APPLE
if (timer_main_window_is_always_on_top(win)) {
gtk_window_set_keep_above(GTK_WINDOW(win), TRUE);
}
#endif
timer_main_window_show_for_mode(win);
}
TimerApplication *timer_application_new() {