summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-04-04 09:01:34 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-04-04 09:01:34 +0000
commitf3d01f7b0c07697265c417452df92955555cd66f (patch)
treee72e10958e4cc6b5e004c92a884af82cf795b172 /perl-install
parente032366577d644b346fcb870d9150fb18b8edc5a (diff)
downloaddrakx-f3d01f7b0c07697265c417452df92955555cd66f.tar
drakx-f3d01f7b0c07697265c417452df92955555cd66f.tar.gz
drakx-f3d01f7b0c07697265c417452df92955555cd66f.tar.bz2
drakx-f3d01f7b0c07697265c417452df92955555cd66f.tar.xz
drakx-f3d01f7b0c07697265c417452df92955555cd66f.zip
fix crash on floppy generation reported by Francisco Alcaraz
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakfloppy5
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);