summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-13 02:30:31 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-13 02:30:31 +0000
commit9487171ba1a54a47fa5e21d91182c02cd8cb14c8 (patch)
treed9e9a9d3ca34bb2596a86bb5ec7e774b6a160b26
parent1f71da26ed51ae521be3b38c9ae56a4ed200f4c9 (diff)
downloadcontrol-center-9487171ba1a54a47fa5e21d91182c02cd8cb14c8.tar
control-center-9487171ba1a54a47fa5e21d91182c02cd8cb14c8.tar.gz
control-center-9487171ba1a54a47fa5e21d91182c02cd8cb14c8.tar.bz2
control-center-9487171ba1a54a47fa5e21d91182c02cd8cb14c8.tar.xz
control-center-9487171ba1a54a47fa5e21d91182c02cd8cb14c8.zip
add support for hidden entries into --start-with option
-rwxr-xr-xcontrol-center9
1 files changed, 8 insertions, 1 deletions
diff --git a/control-center b/control-center
index a7c48514..635dc9cd 100755
--- a/control-center
+++ b/control-center
@@ -691,6 +691,13 @@ foreach (@tree) {
add2notebook($banner_notebook, "", Gtk2::Banner->new($icon, $text));
}
+# manage tools not present in MCC (localedrake, drakauth, ...):
+foreach my $label (difference2([ keys %$exec_hash ], [ keys %tool_callbacks ])) {
+ my $text = $exec_hash->{$label}[3];
+ $tool_callbacks{$label} = sub { compute_exec_string($label, undef, 'wizard-mdk', $text, @{$exec_hash->{$label}}) };
+ $tool_feedback{$label} = sub { };
+}
+
foreach (keys %check_boxes) {
my $widget = $check_boxes{$_};
@@ -947,7 +954,7 @@ sub compute_exec_string {
$option_values{embedded} = $old;
}
start_logdrake();
- $box->window->set_cursor($wait_cursor);
+ $box->window->set_cursor($wait_cursor) if $box;
}
sub start_logdrake {