summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-24 12:52:30 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-24 12:52:30 +0000
commit711699ac839464dc2428e886b47bc008d703f3fe (patch)
treea70478bb48beb4f8f7d31190839cb8810c626b02
parent5ed2b83b1392ea189783248688b30ac83359e91b (diff)
downloadcontrol-center-711699ac839464dc2428e886b47bc008d703f3fe.tar
control-center-711699ac839464dc2428e886b47bc008d703f3fe.tar.gz
control-center-711699ac839464dc2428e886b47bc008d703f3fe.tar.bz2
control-center-711699ac839464dc2428e886b47bc008d703f3fe.tar.xz
control-center-711699ac839464dc2428e886b47bc008d703f3fe.zip
(run_tool) simplify
-rwxr-xr-xcontrol-center4
1 files changed, 1 insertions, 3 deletions
diff --git a/control-center b/control-center
index 3de568bd..38b45b09 100755
--- a/control-center
+++ b/control-center
@@ -1115,9 +1115,7 @@ sub run_tool {
$exec .= " --summary" if $option_values{expert_wizard} && $exec =~ /drakwizard/;
my $embedded = $gtkplug != -1; # not "explicitely not embedded"
if ($embedded) {
- foreach my $notebook ($notebook_global) {
- $notebook->hide;
- }
+ $notebook_global->hide;
create_hidden_socket($icon, $text);
$emb_box->show;
$emb_socket->realize;