From 3dff8fbee021e419d38077ec25a31bc1f9aa236e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 6 Oct 2008 12:50:26 +0000 Subject: (confirm_upgrade) display nicer distribution name if available --- NEWS | 1 + mdkapplet | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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")), ]), -- cgit v1.2.1