summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-29 15:05:54 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-29 15:05:54 +0000
commit92e7be32f29a647d709319d0bb7bb05d3f61afd3 (patch)
treeb3a4b7f0953846f3155d33cf849ed6b01340075f /perl-install
parentb6c4c7d9fbea5789ab75081cb664c803141a275f (diff)
downloaddrakx-92e7be32f29a647d709319d0bb7bb05d3f61afd3.tar
drakx-92e7be32f29a647d709319d0bb7bb05d3f61afd3.tar.gz
drakx-92e7be32f29a647d709319d0bb7bb05d3f61afd3.tar.bz2
drakx-92e7be32f29a647d709319d0bb7bb05d3f61afd3.tar.xz
drakx-92e7be32f29a647d709319d0bb7bb05d3f61afd3.zip
(ask_browse_tree_info) remove "Expand Tree", "Collapse Tree" & "Toggle
between flat and group sorted" icons
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/ugtk2.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 9069ec615..175b4b658 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -952,9 +952,7 @@ sub ask_browse_tree_info {
$buttons[0]->grab_focus;
$w->{rwindow}->show;
- my @toolbar = (ftout => [ N("Expand Tree"), sub { $tree->expand_all } ],
- ftin => [ N("Collapse Tree"), sub { $tree->collapse_all } ],
- reload => [ N("Toggle between flat and group sorted"), sub { invbool(\$common->{state}{flat}); $common->{rebuild_tree}->() } ]);
+ my @toolbar;
foreach my $ic (@{$common->{icons} || []}) {
push @toolbar, ($ic->{icon} => [ $ic->{help}, sub {
if ($ic->{code}) {