diff options
-rwxr-xr-x | control-center | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/control-center b/control-center index c145b4a3..086ecaca 100755 --- a/control-center +++ b/control-center @@ -475,11 +475,11 @@ foreach (@tree) { }); $darea_left->signal_connect(button_release_event => sub { return if $left_locked; - if ($pending_app) { - return if !splash_warning(N("The modifications done in the current module won't be saved."), 1); - kill_children(); - sig_usr1(); - } + if ($pending_app) { + return if !splash_warning(N("The modifications done in the current module won't be saved."), 1); + kill_children(); + sig_usr1(); + } # deselect previously selected darea if ($index_sav != -1) { @@ -786,7 +786,7 @@ sub new_dialog { $dialog->set_title($title); $dialog->action_area->pack_start(gtkadd(Gtk2::HButtonBox->new, gtksignal_connect(Gtk2::Button->new(N("Close")), clicked => sub { $dialog->destroy })),0,0,0) unless $no_button; - gtkset_modal($dialog, 1); + $dialog; } sub more_themes { |