summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-12-29 16:14:30 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-12-29 16:14:30 +0000
commit1c9f1f6c4ddab7548f82bfa501e96300af1eadc1 (patch)
tree5be442bfd751e6d39bde7a0829d314267a80994a
parentebd1237e93dc22c29cdb8d71af05e54b04a8173d (diff)
downloadcontrol-center-1c9f1f6c4ddab7548f82bfa501e96300af1eadc1.tar
control-center-1c9f1f6c4ddab7548f82bfa501e96300af1eadc1.tar.gz
control-center-1c9f1f6c4ddab7548f82bfa501e96300af1eadc1.tar.bz2
control-center-1c9f1f6c4ddab7548f82bfa501e96300af1eadc1.tar.xz
control-center-1c9f1f6c4ddab7548f82bfa501e96300af1eadc1.zip
perl_checker fixes
-rwxr-xr-xcontrol-center4
1 files changed, 2 insertions, 2 deletions
diff --git a/control-center b/control-center
index 15eff038..25fe83b0 100755
--- a/control-center
+++ b/control-center
@@ -404,7 +404,7 @@ my @menu_items = (
gtksignal_connect(Gtk2::Button->new(N("Ok")), clicked => sub {
my $profile2delete = $combo_dialog->entry->get_text;
if ($profile2delete eq $netcnx->{PROFILE}) {
- !err_dialog(N("Warning"), N("You can not delete the current profile"));
+ err_dialog(N("Warning"), N("You can not delete the current profile"));
return 1;
}
$dialog->destroy;
@@ -463,7 +463,7 @@ sub update_profiles {
$done = 0;
enable_profile_entry($prof, 1);
$done = 1;
- return
+ return 0;
}
if (!warn_dialog(N("Warning"),
N("We are about to switch from the \"%s\" profile to the \"%s\" profile.