summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-22 10:23:10 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-22 10:23:10 +0000
commitc1c3284df6d9a7c9c8c1f2267955198895f5a563 (patch)
tree913e7e1de15685330329b2a9118d1b3af6fb489b
parentc3c6d55acd448e7c9c5680aaed31689ebdd26335 (diff)
downloadcontrol-center-c1c3284df6d9a7c9c8c1f2267955198895f5a563.tar
control-center-c1c3284df6d9a7c9c8c1f2267955198895f5a563.tar.gz
control-center-c1c3284df6d9a7c9c8c1f2267955198895f5a563.tar.bz2
control-center-c1c3284df6d9a7c9c8c1f2267955198895f5a563.tar.xz
control-center-c1c3284df6d9a7c9c8c1f2267955198895f5a563.zip
(run_tool) simplify
-rwxr-xr-xcontrol-center4
1 files changed, 1 insertions, 3 deletions
diff --git a/control-center b/control-center
index f6d78653..0a422d56 100755
--- a/control-center
+++ b/control-center
@@ -1784,10 +1784,8 @@ sub run_tool {
}
} else { # not embedded
# fix #3415 when $gtkplug eq -1
- my $old = $option_values{embedded};
- $option_values{embedded} = 0;
+ local $option_values{embedded} = 0;
$tool_pids{$label} = fork_($exec);
- $option_values{embedded} = $old;
}
start_logdrake();
$box->window->set_cursor($wait_cursor) if $box;