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/fs/partitioning_wizard.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/fs') 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); -- cgit v1.2.1