Adding header bar to the window load backup.

This commit is contained in:
sergiotarxz 2024-03-05 05:21:09 +01:00
parent 276a9fd77f
commit b977726c5c
2 changed files with 5 additions and 1 deletions

1
CHANGELOG Normal file
View File

@ -0,0 +1 @@
Tue 5 Mar 04:20:08 UTC 2024 - Added header bar to the load after restore window.

View File

@ -140,7 +140,10 @@ sub offer_to_edit_the_new_file {
$main_window->focus();
$confirm->close;
});
$confirm->set_titlebar(Gtk4::Label->new('Open the restored file'));
my $headerbar = Gtk4::HeaderBar->new;
$headerbar->set_decoration_layout(undef);
$headerbar->set_title_widget(Gtk4::Label->new('Open the restored file'));
$confirm->set_titlebar($headerbar);
$box_window->append($label_question);
$box_window->append($label_warning);