diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-08-18 13:56:40 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-08-18 13:56:40 +0000 |
commit | 1c5eb93b9fe0f9316966113eba1300a427e98353 (patch) | |
tree | 30494877b8209ceaeea8598e372673141cc07416 /perl-install/standalone/harddrake2 | |
parent | c6540ced0eee61a331f3a4dab5f44ecc62af7245 (diff) | |
download | drakx-backup-do-not-use-1c5eb93b9fe0f9316966113eba1300a427e98353.tar drakx-backup-do-not-use-1c5eb93b9fe0f9316966113eba1300a427e98353.tar.gz drakx-backup-do-not-use-1c5eb93b9fe0f9316966113eba1300a427e98353.tar.bz2 drakx-backup-do-not-use-1c5eb93b9fe0f9316966113eba1300a427e98353.tar.xz drakx-backup-do-not-use-1c5eb93b9fe0f9316966113eba1300a427e98353.zip |
use new create_dialog api to get better modal dialogs
Diffstat (limited to 'perl-install/standalone/harddrake2')
-rwxr-xr-x | perl-install/standalone/harddrake2 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2 index 79338e5eb..76c1215d2 100755 --- a/perl-install/standalone/harddrake2 +++ b/perl-install/standalone/harddrake2 @@ -109,9 +109,10 @@ my @menu_items = create_dialog(N("Harddrake help"), N("Description of the fields:\n\n") #-PO Do not alter the <span ..> and </span> tags - . join("\n\n", map { if_($fields{$_}[0], "<span foreground=\"royalblue3\">$fields{$_}[0]:</span> $fields{$_}[1]") } sort keys %$current_device), { use_markup => 1 }) + . join("\n\n", map { if_($fields{$_}[0], "<span foreground=\"royalblue3\">$fields{$_}[0]:</span> $fields{$_}[1]") } sort keys %$current_device), { use_markup => 1, if_(!$::isEmbedded, transient => $w->{window}) }) + } else { - create_dialog(N("Select a device !"), N("Once you've selected a device, you'll be able to see the device information in fields displayed on the right frame (\"Information\")")) + create_dialog(N("Select a device !"), N("Once you've selected a device, you'll be able to see the device information in fields displayed on the right frame (\"Information\")"), { if_(!$::isEmbedded, transient => $w->{window}) }) } }, undef, '<Item>' @@ -122,7 +123,7 @@ my @menu_items = #-PO Do not alter the <span ..> and </span> tags N("This is HardDrake, a Mandrake hardware configuration tool.\n<span foreground=\"royalblue3\">Version:</span> %s <span foreground=\"royalblue3\">Author:</span> Thierry Vignaud <tvignaud\@mandrakesoft.com>\n\n", $harddrake::data::version) . - formatAlaTeX($::license), { use_markup => 1 }); + formatAlaTeX($::license), { use_markup => 1, if_(!$::isEmbedded, transient => $w->{window}) }); }, undef, '<Item>' ] ); |