diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-11 06:36:40 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-11 06:36:40 +0000 |
commit | 9f27b552ea9eaf44eda8f6093d45227ff5338d50 (patch) | |
tree | 6772a31f9a68bf3c138cfa7ecf95e780c6f5449a | |
parent | a978890c02de833e0bd7a1a90f5c551278879337 (diff) | |
download | drakwizard-9f27b552ea9eaf44eda8f6093d45227ff5338d50.tar drakwizard-9f27b552ea9eaf44eda8f6093d45227ff5338d50.tar.gz drakwizard-9f27b552ea9eaf44eda8f6093d45227ff5338d50.tar.bz2 drakwizard-9f27b552ea9eaf44eda8f6093d45227ff5338d50.tar.xz drakwizard-9f27b552ea9eaf44eda8f6093d45227ff5338d50.zip |
fix parsing with perl_checker
-rw-r--r-- | common/Wizcommon.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/Wizcommon.pm b/common/Wizcommon.pm index 3a6067c3..16b5427b 100644 --- a/common/Wizcommon.pm +++ b/common/Wizcommon.pm @@ -74,8 +74,7 @@ sub gtktext_get_log { $log_w->scroll_to_iter($end, 0, 0, 0, 0) if $want_scroll_down; } if (waitpid($pid, c::WNOHANG()) > 0) { - $buffer->insert_interactive($buffer->get_end_iter, "\n" . "#" x 20 . "\n" . " This script has terminated\ -, you can close this window", -1) if $buffer; + $buffer->insert_interactive($buffer->get_end_iter, "\n" . "#" x 20 . "\n" . " This script has terminated,\nyou can close this window", -1) if $buffer; $pid = $timeout = ''; 0; } else { @@ -105,7 +104,7 @@ sub run_command_and_log { 0, my $close_w = Gtk2::Button->new(N("Close"))), ); my $stop_running = gtktext_get_log($command, $log_w, $log_scroll); - $close_w->signal_connect(clicked => sub { $stop_running->() and $w->destroy and return 0}); + $close_w->signal_connect(clicked => sub { $stop_running->() and $w->destroy and return 0 }); $close_w->grab_focus; $w->show; } |