Codebase list ghex / 6aaad45
appwin: Fix post-43.alpha regression re: titlebar updates Logan Rathbone 1 year, 7 months ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
386386 static void
387387 close_page_finish_helper (GHexApplicationWindow *self, AdwTabView *tab_view, AdwTabPage *page, gboolean confirm)
388388 {
389 if (confirm && adw_tab_view_get_n_pages (tab_view) == 0)
389 if (confirm && adw_tab_view_get_n_pages (tab_view) == 1)
390390 {
391391 enable_main_actions (self, FALSE);
392392 ghex_application_window_set_show_find (self, FALSE);
396396 ghex_application_window_set_show_converter (self, FALSE);
397397
398398 show_no_file_loaded_label (self);
399 update_gui_data (self);
400399 }
401400 adw_tab_view_close_page_finish (tab_view, page, confirm);
401 update_gui_data (self);
402402 }
403403
404404 static void