diff options
-rwxr-xr-x | control-center | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center index 178aed11..11ecf0a3 100755 --- a/control-center +++ b/control-center @@ -1404,7 +1404,7 @@ sub new_dialog { $dialog->set_transient_for($window_global); $dialog->set_position('center-on-parent'); $dialog->set_title($title); - $dialog->action_area->pack_start(gtkadd(Gtk3::HButtonBox->new, + $dialog->get_action_area->pack_start(gtkadd(Gtk3::HButtonBox->new, gtksignal_connect(Gtk3::Button->new(N("Close")), clicked => sub { $dialog->destroy }) ), 0,0,0) unless $o_no_button; |