From 4cdb9e606d62e4026b4fe601e2c0b1bb5acae8d5 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 11 Feb 2008 13:36:56 +0000 Subject: (row_setting_dialog) warning dialogs are confusing since OK/cancel both ends in cancel, let's offer only a cancel button --- perl-install/standalone/drakperm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/standalone/drakperm') 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), ) -- cgit v1.2.1