From 0cfb8d2d83ab756881be020d0a2f069626a35211 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 19 Oct 2009 17:35:16 +0000 Subject: partitioning wizard: fix option selection when using keyboard --- perl-install/NEWS | 1 + perl-install/fs/partitioning_wizard.pm | 2 +- perl-install/install/NEWS | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 291b99f15..baa0920cf 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -3,6 +3,7 @@ - avoid error messages when using lvm in draklive-install (#36415) - partitioning wizard: o use mandriva logo on blue background for mandriva partition + o fix option selection when using keyboard Version 12.67 - 18 October 2009 diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index df36e3e3d..70c591e36 100644 --- a/perl-install/fs/partitioning_wizard.pm +++ b/perl-install/fs/partitioning_wizard.pm @@ -477,7 +477,7 @@ sub display_choices { ugtk2::gtkpack($vbox, $item) if defined($item); $button->set_group($oldbutton->get_group) if $oldbutton; $oldbutton = $button; - $button->signal_connect('pressed', sub { $mainw->{sol} = $solutions{$s} }); + $button->signal_connect('toggled', sub { $mainw->{sol} = $solutions{$s} if($_[0]->get_active)}); ugtk2::gtkpack2__($choicesbox, $button); $sep = gtknew('HSeparator'); ugtk2::gtkpack2__($choicesbox, $sep); diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 8c52a2d61..1359c37cd 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -4,6 +4,7 @@ (comma-separated list in $o->{preferred_packages}) - partitioning wizard: o use mandriva logo on blue background for mandriva partition + o fix option selection when using keyboard Version 12.67 - 18 October 2009 -- cgit v1.2.1