diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-10-10 10:06:00 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-10-10 10:06:00 +0000 |
commit | bf30d21136fd7105b96125016ce623476fc6a478 (patch) | |
tree | 6a3f42f65e2851568f539405aab398d3ddb68cd7 /mdkapplet | |
parent | 7c698c0384bc542cc58e8e278d06828a2100c1b0 (diff) | |
download | mgaonline-bf30d21136fd7105b96125016ce623476fc6a478.tar mgaonline-bf30d21136fd7105b96125016ce623476fc6a478.tar.gz mgaonline-bf30d21136fd7105b96125016ce623476fc6a478.tar.bz2 mgaonline-bf30d21136fd7105b96125016ce623476fc6a478.tar.xz mgaonline-bf30d21136fd7105b96125016ce623476fc6a478.zip |
- mdkapplet
o do not wrongly propose distribution upgrade after installing updates
o do not display "Congratulations" dialog when done installing updates, only
do it for distribution upgrade
precision: displaying $new_distro->{version} was vivifying $new_distro, hence
messing the "if $new_distro" test
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -336,8 +336,8 @@ sub harvester { N("Installation failed"), N("Installation logs can be found in '%s'", $log_file) ); - } else { - congratulations(); + } elsif ($state_global eq 'new_distribution') { + upgrade_distro_congratulations(); } } elsif ($checker_pid && $checker_pid == $childpid) { undef $checker_pid; @@ -371,7 +371,7 @@ sub restart_applet() { exec($0, '--auto-update'); } -sub congratulations() { +sub upgrade_distro_congratulations() { local $mygtk2::left_padding = 0; my $width = 500; my $w = ugtk2->new(N("Congratulations")); |