diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-15 15:28:56 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-15 15:28:56 +0000 |
commit | 099fe3554fd99b00f0a3b95b3ebad3d676939f56 (patch) | |
tree | 08caa22a5c018b43b2a5a162dd15a15659f0b48c /perl-install/standalone/drakfloppy | |
parent | 8ab3dfff357a05a5eea4912325d022e19f6e3cbd (diff) | |
download | drakx-099fe3554fd99b00f0a3b95b3ebad3d676939f56.tar drakx-099fe3554fd99b00f0a3b95b3ebad3d676939f56.tar.gz drakx-099fe3554fd99b00f0a3b95b3ebad3d676939f56.tar.bz2 drakx-099fe3554fd99b00f0a3b95b3ebad3d676939f56.tar.xz drakx-099fe3554fd99b00f0a3b95b3ebad3d676939f56.zip |
(create_dialog) :
- update caller list
- add title parameter and update callers
Diffstat (limited to 'perl-install/standalone/drakfloppy')
-rwxr-xr-x | perl-install/standalone/drakfloppy | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/standalone/drakfloppy b/perl-install/standalone/drakfloppy index 57b288abc..c3a7575ef 100755 --- a/perl-install/standalone/drakfloppy +++ b/perl-install/standalone/drakfloppy @@ -294,22 +294,22 @@ sub build_it() { } $co .= " " . $kernel_combo->entry->get_text(); $co .= " 2>&1 |"; - create_dialog(N("Be sure a media is present for the device %s", $device_combo->entry->get_text()), 1) or return; + create_dialog(N("Warning"), N("Be sure a media is present for the device %s", $device_combo->entry->get_text()), 1) or return; # we test if the media is present test: my $a = "dd count=1 if=/dev/null of=" . $device_combo->entry->get_text() . " 2>&1"; my $b = `$a`; if ($b =~ /dd/) { - create_dialog(N("There is no medium or it is write-protected for device %s.\nPlease insert one.", $device_combo->entry->get_text()), 1) ? goto test : return 0; + create_dialog(N("Error"), N("There is no medium or it is write-protected for device %s.\nPlease insert one.", $device_combo->entry->get_text()), 1) ? goto test : return 0; } local *STATUS; - open STATUS, $co or do { create_dialog(N("Unable to fork: %s", $!), 0); return }; + open STATUS, $co or do { create_dialog(N("Error"), N("Unable to fork: %s", $!), 0); return }; local $_; while (<STATUS>) { gtktext_append($output, [ [ $_ ] ]); } - close STATUS or create_dialog(N("Unable to properly close mkbootdisk: \n %s \n %s", $!, $?), 0); + close STATUS or create_dialog(N("Error"), N("Unable to properly close mkbootdisk: \n %s \n %s", $!, $?), 0); return (0); } |