appwin: Fix post-43.alpha regression re: titlebar updates
Logan Rathbone
1 year, 7 months ago
386 | 386 | static void |
387 | 387 | close_page_finish_helper (GHexApplicationWindow *self, AdwTabView *tab_view, AdwTabPage *page, gboolean confirm) |
388 | 388 | { |
389 | if (confirm && adw_tab_view_get_n_pages (tab_view) == 0) | |
389 | if (confirm && adw_tab_view_get_n_pages (tab_view) == 1) | |
390 | 390 | { |
391 | 391 | enable_main_actions (self, FALSE); |
392 | 392 | ghex_application_window_set_show_find (self, FALSE); |
396 | 396 | ghex_application_window_set_show_converter (self, FALSE); |
397 | 397 | |
398 | 398 | show_no_file_loaded_label (self); |
399 | update_gui_data (self); | |
400 | 399 | } |
401 | 400 | adw_tab_view_close_page_finish (tab_view, page, confirm); |
401 | update_gui_data (self); | |
402 | 402 | } |
403 | 403 | |
404 | 404 | static void |