diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install/steps_gtk.pm | 2 | ||||
-rw-r--r-- | perl-install/mygtk3.pm | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/steps_gtk.pm b/perl-install/install/steps_gtk.pm index f526f0d74..7dc844af2 100644 --- a/perl-install/install/steps_gtk.pm +++ b/perl-install/install/steps_gtk.pm @@ -260,7 +260,7 @@ sub reallyChooseDesktop { tip => $tips{$val->[0]}, toggled => sub { $choice = $val if $_[0]->get_active }, active => $choice == $val, - $prev ? (group => $prev->get_group) : ()); + $prev ? (join => $prev) : ()); $prev->signal_connect(key_press_event => sub { my (undef, $event) = @_; if (!$event || ($event->keyval & 0x7f) == 0xd) { diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm index 094ca1a65..ae72041ca 100644 --- a/perl-install/mygtk3.pm +++ b/perl-install/mygtk3.pm @@ -171,6 +171,7 @@ sub _gtk_any_Button { delete $opts->{mnemonic} ? "Gtk3::$class"->new_with_mnemonic(@radio_options, delete $opts->{text} || '') : $opts->{text} ? "Gtk3::$class"->new_with_label(@radio_options, delete $opts->{text} || '') : "Gtk3::$class"->new(@radio_options); + $w->join_group(delete $opts->{join}) if $opts->{join}; $w->{format} = delete $opts->{format} if exists $opts->{format}; } |