diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-02-02 15:58:43 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-02-02 15:58:43 +0000 |
commit | 1873a7a5045a6c8c33d4caec9fa9b38601d81916 (patch) | |
tree | 16a2d541f553e56c3f1869e24f5a4c7e974ede3c | |
parent | 44f5a3d47239a76d7e0caf3412063edb873693d8 (diff) | |
download | mgaonline-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
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | mdkapplet | 16 |
2 files changed, 9 insertions, 8 deletions
@@ -1,5 +1,6 @@ - mdkapplet o actually honor DO_NOT_ASK_FOR_NO_MORE_SUPPORTED + o make link button usable in no more supported dialog Version 2.77.15.6 - 2 February 2010, Thierry Vignaud @@ -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"), |