summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-09-02 10:59:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-09-02 10:59:49 +0000
commit5785b2ca6b6359efc044782c9ad5f589d0b5b14a (patch)
tree715076cbbaf48da8bd340825ab03eefe6c3dea64 /perl-install/install_steps_gtk.pm
parentc3b9336d935188f5f518f51a1eaf9e1cbc9ea946 (diff)
downloaddrakx-5785b2ca6b6359efc044782c9ad5f589d0b5b14a.tar
drakx-5785b2ca6b6359efc044782c9ad5f589d0b5b14a.tar.gz
drakx-5785b2ca6b6359efc044782c9ad5f589d0b5b14a.tar.bz2
drakx-5785b2ca6b6359efc044782c9ad5f589d0b5b14a.tar.xz
drakx-5785b2ca6b6359efc044782c9ad5f589d0b5b14a.zip
cleanup
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index 526df652e..c72da9270 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -494,7 +494,7 @@ sub installPackages {
$advertize->(0);
local *install_steps::installCallback = sub {
- my ($data, $type, $id, $subtype, $amount, $total) = @_;
+ my ($packages, $type, $id, $subtype, $amount, $total) = @_;
if ($type eq 'user' && $subtype eq 'install') {
#- $amount and $total are used to return number of package and total size.
$nb = $amount;
@@ -504,7 +504,7 @@ sub installPackages {
$w->flush;
} elsif ($type eq 'inst' && $subtype eq 'start') {
gtkval_modify(\$pkg_progress, 0);
- my $p = $data->{depslist}[$id];
+ my $p = $packages->{depslist}[$id];
mygtk2::gtkadd($pkg_log_widget, text => sprintf("\n%s: %s", $p->name, (split /\n/, c::from_utf8($p->summary))[0] || ''));
$current_total_size += $last_size;
$last_size = $p->size;