diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-21 14:48:14 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-21 14:48:14 +0000 |
commit | 7d681e91194e2e88c5e29be6e49714bc62cfcb70 (patch) | |
tree | f90288b1ea68e18482171749edef728def90cce3 | |
parent | 9a81e4bf5325495b5ea533d1ca2ac7117c09365e (diff) | |
download | control-center-7d681e91194e2e88c5e29be6e49714bc62cfcb70.tar control-center-7d681e91194e2e88c5e29be6e49714bc62cfcb70.tar.gz control-center-7d681e91194e2e88c5e29be6e49714bc62cfcb70.tar.bz2 control-center-7d681e91194e2e88c5e29be6e49714bc62cfcb70.tar.xz control-center-7d681e91194e2e88c5e29be6e49714bc62cfcb70.zip |
let simplify and speedup "strip first underscore" regexp
-rwxr-xr-x | control-center | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center index 40dc8969..dc291edf 100755 --- a/control-center +++ b/control-center @@ -328,7 +328,7 @@ my ($menu, $factory) = create_factory_menu($window_global, )); %check_boxes = map { - $_ => $factory->get_widget("<main>" . join '', map { s/([^_]*)_(.*)/$1$2/; $_ } @{$options{$_}}) + $_ => $factory->get_widget("<main>" . join '', map { s/_//; $_ } @{$options{$_}}) } ("embedded_mode", "show_log", if_($::isWiz, "wiz_expert")); |