summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS1
-rwxr-xr-xmdkapplet16
2 files changed, 9 insertions, 8 deletions
diff --git a/NEWS b/NEWS
index 20dd359b..a10960ec 100644
--- a/NEWS
+++ b/NEWS
@@ -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
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"),