summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-25 12:37:52 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-25 12:37:52 +0000
commit0b54d263395ab3a8bd1450769f7b747e438ec046 (patch)
tree7aed94126301c0a2c31cffdcc824caa0eb6eb1c5
parent01cbc35f3fecff521998fd98d750c31513ba968b (diff)
downloadcontrol-center-0b54d263395ab3a8bd1450769f7b747e438ec046.tar
control-center-0b54d263395ab3a8bd1450769f7b747e438ec046.tar.gz
control-center-0b54d263395ab3a8bd1450769f7b747e438ec046.tar.bz2
control-center-0b54d263395ab3a8bd1450769f7b747e438ec046.tar.xz
control-center-0b54d263395ab3a8bd1450769f7b747e438ec046.zip
kill useless variable
-rwxr-xr-xcontrol-center4
1 files changed, 0 insertions, 4 deletions
diff --git a/control-center b/control-center
index 98eaaa79..a25d19d7 100755
--- a/control-center
+++ b/control-center
@@ -780,7 +780,6 @@ sub clean_list {
} @$subtree;
}
-my @labels;
sub build_list {
my $i;
foreach (@tree) {
@@ -893,9 +892,6 @@ foreach (@tree) {
$string .= qq(</BODY></HTML>);
output_p("/tmp/mcc/$i.html", $string) if $save_html;
- $labels[$index-1]{text} = $text;
- $labels[$index-1]{help} = $help;
-
push @buttons, gtknew('Button', relief => 'none', child =>
gtknew('Label_Right', text_markup => qq(<small>$text</small>), ellipsize => 'end'),
clicked => sub {