summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-02-02 15:58:43 +0000
committerThierry Vignaud <tv@mandriva.org>2010-02-02 15:58:43 +0000
commit1873a7a5045a6c8c33d4caec9fa9b38601d81916 (patch)
tree16a2d541f553e56c3f1869e24f5a4c7e974ede3c /mdkapplet
parent44f5a3d47239a76d7e0caf3412063edb873693d8 (diff)
downloadmgaonline-1873a7a5045a6c8c33d4caec9fa9b38601d81916.tar
mgaonline-1873a7a5045a6c8c33d4caec9fa9b38601d81916.tar.gz
mgaonline-1873a7a5045a6c8c33d4caec9fa9b38601d81916.tar.bz2
mgaonline-1873a7a5045a6c8c33d4caec9fa9b38601d81916.tar.xz
mgaonline-1873a7a5045a6c8c33d4caec9fa9b38601d81916.zip
(no_more_supported_choice) make button clickable by extracting it out
of the radiobutton which intercepts proper signals
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet16
1 files changed, 8 insertions, 8 deletions
diff --git a/mdkapplet b/mdkapplet
index 7511c534..9d8862be 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -521,16 +521,16 @@ sub no_more_supported_choice() {
gtknew('HSeparator'),
),
if_($no_more_supported ne 'none',
- $b2 = gtknew('RadioButton', child => gtknew('VButtonBox', layout => 'start', children_tight => [
- gtknew('Label_Left',
- text => N("Do you want to upgrade to the '\%s' distribution?",
- $new_distro->{name} || $new_distro->{version}), @common),
+ gtknew('VBox', children_tight => [
+ $b2 = gtknew('RadioButton',
+ text => N("Do you want to upgrade to the '\%s' distribution?",
+ $new_distro->{name} || $new_distro->{version}),
+ toggled => sub {
+ ($choice, $warn_me) = ('upgrade', undef) if $_[0]->get_active;
+ },
+ if_($b1, group => $b1)),
new_link_button($new_distro->{url}, N("More info about this new version")),
]),
- toggled => sub {
- ($choice, $warn_me) = ('upgrade', undef) if $_[0]->get_active;
- },
- if_($b1, group => $b1)),
gtknew('HSeparator'),
),
$b3 = gtknew('RadioButton', text => N("Do not ask me next time"),