summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-21 14:05:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-21 14:05:22 +0000
commit0ec83e412f08613f2a79274e623cb8cb073202b1 (patch)
tree45209ac594d139cafd5df0f6e257ff34a2bb2f2d /perl-install/install_steps_gtk.pm
parentc4a44f0ec9c982776afa60a509539a8007dd9d2a (diff)
downloaddrakx-backup-do-not-use-0ec83e412f08613f2a79274e623cb8cb073202b1.tar
drakx-backup-do-not-use-0ec83e412f08613f2a79274e623cb8cb073202b1.tar.gz
drakx-backup-do-not-use-0ec83e412f08613f2a79274e623cb8cb073202b1.tar.bz2
drakx-backup-do-not-use-0ec83e412f08613f2a79274e623cb8cb073202b1.tar.xz
drakx-backup-do-not-use-0ec83e412f08613f2a79274e623cb8cb073202b1.zip
workaround set_active on Gtk2::CheckButton widgets thinking undef is true :-(
(hopefully, gc will fix perl-GTK2!)
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index 583fb8a47..a41fb476b 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -238,7 +238,7 @@ sub reallyChooseGroups {
$w_size,
if_($individual, do {
my $check = Gtk2::CheckButton->new(N("Individual package selection"));
- $check->set_active($$individual);
+ $check->set_active($$individual ? 1 : 0);
$check->signal_connect(clicked => sub { $$individual = $check->get_active });
$check;
}),