summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-02-24 16:09:40 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-02-24 16:09:40 +0000
commit2f42d2db3761b9f4d1f45a4a3dd12d71ab6b65f3 (patch)
treefb0b2f9755f8ccfffe6b2607296b4583c927ca05
parenteaf1e090a5ae595aac23e9a3e2567cfdc60bef5b (diff)
downloadcontrol-center-2f42d2db3761b9f4d1f45a4a3dd12d71ab6b65f3.tar
control-center-2f42d2db3761b9f4d1f45a4a3dd12d71ab6b65f3.tar.gz
control-center-2f42d2db3761b9f4d1f45a4a3dd12d71ab6b65f3.tar.bz2
control-center-2f42d2db3761b9f4d1f45a4a3dd12d71ab6b65f3.tar.xz
control-center-2f42d2db3761b9f4d1f45a4a3dd12d71ab6b65f3.zip
really fix #13567 (using short descriptions in banners)
-rwxr-xr-xcontrol-center5
1 files changed, 2 insertions, 3 deletions
diff --git a/control-center b/control-center
index b6221d2b..fd4228d0 100755
--- a/control-center
+++ b/control-center
@@ -1311,16 +1311,15 @@ foreach (@tree) {
group_by($option_values{use_long_dscr} ? 2 : 3, map {
my $label = $_;
my $icon = $programs{$label}{icon};
- my $text = $option_values{use_long_dscr} ? $programs{$label}{long_description} : $programs{$label}{description};
die "$label 's icon is missing" if !$programs{$label} && $::testing;
my $event_box;
$tool_callbacks{$label} = sub {
# needed for --start-with parameter:
$event_box->realize;
- run_tool($label, $event_box, $icon, $text, $programs{$label});
+ run_tool($label, $event_box, $icon, $programs{$label}{description}, $programs{$label});
};
- $event_box = Gtk2::WebIcon->new($text, $icon,
+ $event_box = Gtk2::WebIcon->new($programs{$label}{long_description}, $icon,
{
button_release_event => $tool_callbacks{$label},
}