summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-09-16 12:50:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-09-16 12:50:09 +0000
commit9531751f92884d27331c986a2c6beaa4bd6f9fee (patch)
treef983c6d755ca852b99409fb4275a855b8d7e7eba /perl-install
parentf2b3aeaf8ff5b1a6de52c94fa016e27466459c5d (diff)
downloaddrakx-9531751f92884d27331c986a2c6beaa4bd6f9fee.tar
drakx-9531751f92884d27331c986a2c6beaa4bd6f9fee.tar.gz
drakx-9531751f92884d27331c986a2c6beaa4bd6f9fee.tar.bz2
drakx-9531751f92884d27331c986a2c6beaa4bd6f9fee.tar.xz
drakx-9531751f92884d27331c986a2c6beaa4bd6f9fee.zip
don't call $advertize on "Details" click otherwise it may call $advertize when
chrooted which we don't want. So changing behaviour: the button now only hide or show, it doesn't change the current ad
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps_gtk.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index 864f1f6dc..98888fbec 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -436,8 +436,6 @@ sub installPackages {
my $advertize = sub {
my ($update) = @_;
- $pkg_log_widget->{to_bottom}->('force');
-
@install_any::advertising_images && $show_advertising && $update or return;
$change_time = time();
@@ -459,7 +457,7 @@ sub installPackages {
format => sub { $show_advertising ? N("Details") : N("No details") },
clicked => sub {
gtkval_modify(\$show_advertising, !$show_advertising);
- $advertize->('update');
+ $pkg_log_widget->{to_bottom}->('force');
});
ugtk2::gtkadd($w->{window}, my $box = gtknew('VBox', children_tight => [