summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-10-02 16:35:46 +0000
committerOlivier Blin <oblin@mandriva.com>2008-10-02 16:35:46 +0000
commit2ef315877271f7363e716b2e1feaddafaded8139 (patch)
tree59992ef9084eb600fb64819e969b4d36a5c92459
parentcb0cbeec7ca211d0e68cbfad349a023b76b195d5 (diff)
downloaddrakx-2ef315877271f7363e716b2e1feaddafaded8139.tar
drakx-2ef315877271f7363e716b2e1feaddafaded8139.tar.gz
drakx-2ef315877271f7363e716b2e1feaddafaded8139.tar.bz2
drakx-2ef315877271f7363e716b2e1feaddafaded8139.tar.xz
drakx-2ef315877271f7363e716b2e1feaddafaded8139.zip
gtk install: activate proper button for default desktop
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/steps_gtk.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index b5e63c0ea..cdd65cbce 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,6 +1,7 @@
- when upgrading a kde3 box, force installation of task-kde4
- adjust some help IDs
- log activation of light desktop mode
+- gtk install: activate proper button for default desktop
Version 11.66.1 - 2 October 2008
diff --git a/perl-install/install/steps_gtk.pm b/perl-install/install/steps_gtk.pm
index 095b80941..6ad982603 100644
--- a/perl-install/install/steps_gtk.pm
+++ b/perl-install/install/steps_gtk.pm
@@ -244,6 +244,7 @@ sub reallyChooseDesktop {
gtknew('Label', text => $val->[1]),
tip => $tips{$val->[0]},
toggled => sub { $choice = $val if $_[0]->get_active },
+ active => $choice == $val,
$prev ? (group => $prev->get_group) : ());
$prev->signal_connect(key_press_event => sub {
my (undef, $event) = @_;