diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-11 13:36:56 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-11 13:36:56 +0000 |
commit | 4cdb9e606d62e4026b4fe601e2c0b1bb5acae8d5 (patch) | |
tree | 57f0cd989609d317acba52cb0c42d408130097ef /perl-install/standalone/drakperm | |
parent | 17072de4c773a276767ddd0f0193b274718eadde (diff) | |
download | drakx-4cdb9e606d62e4026b4fe601e2c0b1bb5acae8d5.tar drakx-4cdb9e606d62e4026b4fe601e2c0b1bb5acae8d5.tar.gz drakx-4cdb9e606d62e4026b4fe601e2c0b1bb5acae8d5.tar.bz2 drakx-4cdb9e606d62e4026b4fe601e2c0b1bb5acae8d5.tar.xz drakx-4cdb9e606d62e4026b4fe601e2c0b1bb5acae8d5.zip |
(row_setting_dialog) warning dialogs are confusing since OK/cancel
both ends in cancel, let's offer only a cancel button
Diffstat (limited to 'perl-install/standalone/drakperm')
-rwxr-xr-x | perl-install/standalone/drakperm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm index e9e9416c5..86f968ea5 100755 --- a/perl-install/standalone/drakperm +++ b/perl-install/standalone/drakperm @@ -371,7 +371,7 @@ sub row_setting_dialog { my ($path, $user, $group, $perms, $_idx); $path = $file->get_text; if ($path !~ m!^/!) { - warn_dialog(N("Warning"), N("The first character of the path must be a slash (\"/\"):\n\"%s\"", $path)); + err_dialog(N("Warning"), N("The first character of the path must be a slash (\"/\"):\n\"%s\"", $path)); return 1; } if ($usr_check->get_active) { @@ -381,7 +381,7 @@ sub row_setting_dialog { $user = $users->entry->get_text; $group = $groups->entry->get_text; if (!member($user, @users) || !member($group, @groups)) { - warn_dialog(N("Warning"), join("\n", N("Both the username and the group must valid!"), + err_dialog(N("Warning"), join("\n", N("Both the username and the group must valid!"), N("User: %s", $user), N("Group: %s", $group), ) |