diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-04-04 09:01:34 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-04-04 09:01:34 +0000 |
commit | f3d01f7b0c07697265c417452df92955555cd66f (patch) | |
tree | e72e10958e4cc6b5e004c92a884af82cf795b172 /perl-install/standalone/drakfloppy | |
parent | e032366577d644b346fcb870d9150fb18b8edc5a (diff) | |
download | drakx-backup-do-not-use-f3d01f7b0c07697265c417452df92955555cd66f.tar drakx-backup-do-not-use-f3d01f7b0c07697265c417452df92955555cd66f.tar.gz drakx-backup-do-not-use-f3d01f7b0c07697265c417452df92955555cd66f.tar.bz2 drakx-backup-do-not-use-f3d01f7b0c07697265c417452df92955555cd66f.tar.xz drakx-backup-do-not-use-f3d01f7b0c07697265c417452df92955555cd66f.zip |
fix crash on floppy generation reported by Francisco Alcaraz
Diffstat (limited to 'perl-install/standalone/drakfloppy')
-rwxr-xr-x | perl-install/standalone/drakfloppy | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/standalone/drakfloppy b/perl-install/standalone/drakfloppy index d9cc103c6..addace84a 100755 --- a/perl-install/standalone/drakfloppy +++ b/perl-install/standalone/drakfloppy @@ -166,8 +166,7 @@ $window->{window}->add( Gtk2::HBox->new(0, 0), 5), 30, 75), - 1, $output = new Gtk2::Text(undef, undef), - 0, Gtk2::VScrollbar->new($output->vadj), + 1, $output = Gtk2::TextView->new, ), ), 0, gtkpack__(new Gtk2::HBox(0, 0), @@ -308,7 +307,7 @@ sub build_it { open STATUS, $co or do { create_dialog(N("Unable to fork: %s", $!), 0); return }; local $_; while (<STATUS>) { - $output->insert(undef, undef, undef, $_); + gtktext_append($output, [ [ $_ ] ]); } close STATUS or create_dialog(N("Unable to properly close mkbootdisk: \n %s \n %s", $!, $?), 0); |