diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-22 16:34:10 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-22 16:34:10 +0000 |
commit | 9c7f07f556d90f6f374c19404990cfd6046296c6 (patch) | |
tree | 8e3f59c3ccebef2a01cea0efb8023a5fca80ccfe /mdkapplet | |
parent | df1b8eeae7cbec5c532962d373ea97c8dfe4cc33 (diff) | |
download | mgaonline-9c7f07f556d90f6f374c19404990cfd6046296c6.tar mgaonline-9c7f07f556d90f6f374c19404990cfd6046296c6.tar.gz mgaonline-9c7f07f556d90f6f374c19404990cfd6046296c6.tar.bz2 mgaonline-9c7f07f556d90f6f374c19404990cfd6046296c6.tar.xz mgaonline-9c7f07f556d90f6f374c19404990cfd6046296c6.zip |
(confirm_upgrade) split variable declaration
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -354,12 +354,13 @@ sub confirm_upgrade() { local $mygtk2::left_padding = 0; my $w = ugtk2->new(N("New version of Mandriva Linux distribution"), width => $width + 20); my $warn_me = text2bool($local_config{DO_NOT_ASK_FOR_DISTRO_UPGRADE}); + my $link; gtkadd($w->{window}, gtknew('VBox', children_tight => [ get_banner(), gtknew('Label_Left', text => N("A new version of Mandriva Linux distribution has been released."), @common), gtknew('HButtonBox', layout => 'start', children_tight => [ - my $link = Gtk2::LinkButton->new($new_distro->{url}, N("More info about this new version")), + $link = Gtk2::LinkButton->new($new_distro->{url}, N("More info about this new version")), ]), gtknew('Label_Left', text => N("Do you want to upgrade to the '\%s' distribution?", $new_distro->{name} || $new_distro->{version}), @common), |