summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS1
-rwxr-xr-xmdkapplet2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index e3b2971b..59841aff 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@
o "Distro Upgrade" confirmation dialog:
* display a banner
* display an URL link button
+ * display nicer distribution name
Version 2.49 - 3 October 2008
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")),
]),