summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-22 16:34:10 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-22 16:34:10 +0000
commit9c7f07f556d90f6f374c19404990cfd6046296c6 (patch)
tree8e3f59c3ccebef2a01cea0efb8023a5fca80ccfe
parentdf1b8eeae7cbec5c532962d373ea97c8dfe4cc33 (diff)
downloadmgaonline-9c7f07f556d90f6f374c19404990cfd6046296c6.tar
mgaonline-9c7f07f556d90f6f374c19404990cfd6046296c6.tar.gz
mgaonline-9c7f07f556d90f6f374c19404990cfd6046296c6.tar.bz2
mgaonline-9c7f07f556d90f6f374c19404990cfd6046296c6.tar.xz
mgaonline-9c7f07f556d90f6f374c19404990cfd6046296c6.zip
(confirm_upgrade) split variable declaration
-rwxr-xr-xmdkapplet3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 589f0869..37229501 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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),