summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-06 12:50:26 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-06 12:50:26 +0000
commit3dff8fbee021e419d38077ec25a31bc1f9aa236e (patch)
tree2ecdd422d2dd5bb2c19e84573bb08e6cdca10e15 /mdkapplet
parent619879b7c1f17c8edc6478364b679ad8c68e1231 (diff)
downloadmgaonline-3dff8fbee021e419d38077ec25a31bc1f9aa236e.tar
mgaonline-3dff8fbee021e419d38077ec25a31bc1f9aa236e.tar.gz
mgaonline-3dff8fbee021e419d38077ec25a31bc1f9aa236e.tar.bz2
mgaonline-3dff8fbee021e419d38077ec25a31bc1f9aa236e.tar.xz
mgaonline-3dff8fbee021e419d38077ec25a31bc1f9aa236e.zip
(confirm_upgrade) display nicer distribution name if available
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 5b9173a2..423fc16f 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -370,7 +370,7 @@ sub confirm_upgrade() {
gtknew('HButtonBox', layout => 'start', children_tight => [
my $link = Gtk2::LinkButton->new($new_distro->{url}, N("More info about this new version")),
]),
- N("Do you want to upgrade to the '\%s' distribution?", $new_distro->{version}),
+ N("Do you want to upgrade to the '\%s' distribution?", $new_distro->{name} || $new_distro->{version}),
gtknew('CheckButton', text => N("Do not ask me next time"), active_ref => \$warn_me),
create_okcancel($w, N("Yes"), N("No")),
]),