diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-25 13:38:20 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-25 13:38:20 +0000 |
commit | 403df0a96a21e16a1515fb50c548454ee9090cfa (patch) | |
tree | aa961b0ab6816aa5140191e1f504be04f5be3581 | |
parent | 119bdfcb4ab55c942d8dee1763ca182a085c9031 (diff) | |
download | control-center-403df0a96a21e16a1515fb50c548454ee9090cfa.tar control-center-403df0a96a21e16a1515fb50c548454ee9090cfa.tar.gz control-center-403df0a96a21e16a1515fb50c548454ee9090cfa.tar.bz2 control-center-403df0a96a21e16a1515fb50c548454ee9090cfa.tar.xz control-center-403df0a96a21e16a1515fb50c548454ee9090cfa.zip |
(build_list) prevent empty links to appear (side effect of fcrozat's
fix (r246647 from 2008-09-25):
"(build_list) make icon+text act as a single item for links (fcrozat)"
-rwxr-xr-x | control-center | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center index 4fa51d37..16cc4c1c 100755 --- a/control-center +++ b/control-center @@ -882,7 +882,7 @@ foreach (@tree) { map { "<TR>" . join("\n", grep { defined $_ } @$_) . "</TR>" } # "<TR>" . join("\n<TD> </TD>\n", grep { defined $_ } @$_) . "</TR>" } - group_by(2, map { build_widget_element($_) } @{$subtree->{list}}) + group_by(2, map { $_ ? build_widget_element($_) : '' } @{$subtree->{list}}) ); $string .= "</TABLE>\n"; |