Add title to warning dialog

master
thooge 4 years ago committed by GitHub
parent acf1b30bdc
commit 29f3b8fe51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      lib/GUI/HELPERS.pm

@ -75,6 +75,7 @@ sub print_warning {
$box = Gtk2::MessageDialog->new( $box = Gtk2::MessageDialog->new(
undef, [qw/destroy-with-parent modal/], 'warning', 'none', $t); undef, [qw/destroy-with-parent modal/], 'warning', 'none', $t);
$box->set_title(_("Warning"));
$box->set_default_size(600, 0); $box->set_default_size(600, 0);
$box->set_resizable(1); $box->set_resizable(1);