summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-01-02 15:51:43 +0000
committerThierry Vignaud <tv@mandriva.org>2008-01-02 15:51:43 +0000
commitfc9d7699d819868d05049d2e596352d99dbcac56 (patch)
tree7ba937f45188bc801ea1ab58bc2ef4c3b4850877
parentc1c57b3a42f3e68e25e087f08899394ebea6e834 (diff)
downloadcontrol-center-fc9d7699d819868d05049d2e596352d99dbcac56.tar
control-center-fc9d7699d819868d05049d2e596352d99dbcac56.tar.gz
control-center-fc9d7699d819868d05049d2e596352d99dbcac56.tar.bz2
control-center-fc9d7699d819868d05049d2e596352d99dbcac56.tar.xz
control-center-fc9d7699d819868d05049d2e596352d99dbcac56.zip
typo fix (too late to fix the config file syntax)
-rwxr-xr-xcontrol-center8
1 files changed, 4 insertions, 4 deletions
diff --git a/control-center b/control-center
index 1abca77a..e9679703 100755
--- a/control-center
+++ b/control-center
@@ -1,5 +1,5 @@
#!/usr/bin/perl
-# $Id$
+# $Id: control-center 232735 2008-01-02 15:34:46Z tv $
# Copyright (C) 1999-2007 Mandriva
# Daouda Lo
@@ -48,7 +48,7 @@ my (%tool_pids, %tool_feedback);
my ($version, $conffile, $class_install) = (`cat /etc/mandrakelinux-release` =~ /\b(\d+\.{1}.+\))/, "/etc/mcc.conf", "/etc/sysconfig/system");
my $root_size = join('x', gtkroot()->get_size());
-my ($default_width, $default_heigth) = member($root_size, '640x480', '800x600') ? (720, 523) : (800, 600);
+my ($default_width, $default_height) = member($root_size, '640x480', '800x600') ? (720, 523) : (800, 600);
require_root_capability() if !$::testing; # just to get root capabilities
@@ -61,7 +61,7 @@ my %class = getVarsFromSh($class_install);
$h{THEME} ||= 'default';
$h{LOGS} ||= bool2text($class{CLASS} eq 'expert' ? 1 : 0);
$h{EXPERT_WIZARD} ||= 0;
-$h{HEIGTH} ||= $default_heigth;
+$h{HEIGTH} ||= $default_height;
$h{WIDTH} ||= $default_width;
my %option_values;
@@ -1192,7 +1192,7 @@ if ($geometry) {
$window_global->set_uposition($x, $y) if $x || $y;
} else {
}
-$window_global->resize(max($default_width, $h{WIDTH}, $min_size[0]), max($h{HEIGTH}, $default_heigth, $min_size[1]));
+$window_global->resize(max($default_width, $h{WIDTH}, $min_size[0]), max($h{HEIGTH}, $default_height, $min_size[1]));
$window_global->set_icon(gtkcreate_pixbuf("/usr/share/icons/drakconf.png"));