diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-01-21 14:05:22 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-01-21 14:05:22 +0000 |
commit | 0ec83e412f08613f2a79274e623cb8cb073202b1 (patch) | |
tree | 45209ac594d139cafd5df0f6e257ff34a2bb2f2d | |
parent | c4a44f0ec9c982776afa60a509539a8007dd9d2a (diff) | |
download | drakx-0ec83e412f08613f2a79274e623cb8cb073202b1.tar drakx-0ec83e412f08613f2a79274e623cb8cb073202b1.tar.gz drakx-0ec83e412f08613f2a79274e623cb8cb073202b1.tar.bz2 drakx-0ec83e412f08613f2a79274e623cb8cb073202b1.tar.xz drakx-0ec83e412f08613f2a79274e623cb8cb073202b1.zip |
workaround set_active on Gtk2::CheckButton widgets thinking undef is true :-(
(hopefully, gc will fix perl-GTK2!)
-rw-r--r-- | perl-install/install_steps_gtk.pm | 2 |
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; }), |