aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-10-01 11:32:40 +0000
committerThierry Vignaud <tv@mandriva.org>2009-10-01 11:32:40 +0000
commitad543101ae251bb9401da0aec7344b69e3046eb2 (patch)
tree22368740c2b4694e5502c1cfe583ca4fd2ab625b
parent3c11932412535dbbcca0a8acf76ce1034e78693b (diff)
downloadrpmdrake-ad543101ae251bb9401da0aec7344b69e3046eb2.tar
rpmdrake-ad543101ae251bb9401da0aec7344b69e3046eb2.tar.gz
rpmdrake-ad543101ae251bb9401da0aec7344b69e3046eb2.tar.bz2
rpmdrake-ad543101ae251bb9401da0aec7344b69e3046eb2.tar.xz
rpmdrake-ad543101ae251bb9401da0aec7344b69e3046eb2.zip
(run_treeview_dialog) show rpmdrake version in about dialog instead of
distribution version (#49467)
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/init.pm2
-rwxr-xr-xrpmdrake4
3 files changed, 5 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 5b61eef5..7c4f5811 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,8 @@
* enable to search in full or short package names (#46473)
* fix searching for summary on startup (#49293)
* rerun search after reloading package list (#49834)
+ o show rpmdrake version in about dialog instead of distribution
+ version (#49467)
o warn on exit if some packages are selected (#45404)
Version 5.17 - 1 June 2009, Thierry Vignaud
diff --git a/Rpmdrake/init.pm b/Rpmdrake/init.pm
index 2ef0dfa7..6a94c204 100644
--- a/Rpmdrake/init.pm
+++ b/Rpmdrake/init.pm
@@ -92,7 +92,7 @@ if ($collation_locale) {
$collation_locale =~ /UTF-8/ or setlocale(LC_COLLATE, "$collation_locale.UTF-8");
}
-my $version = 1;
+our $version = 1;
our %rpmdrake_options;
my $i;
diff --git a/rpmdrake b/rpmdrake
index 8c767da8..e74f24df 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -608,8 +608,8 @@ sub run_treeview_dialog {
my $license = formatAlaTeX(translate($::license));
$license =~ s/\n/\n\n/sg; # nicer formatting
my $w = gtknew('AboutDialog', name => N("Rpmdrake"),
- version => $rpmdrake::mdk_version,
- copyright => N("Copyright (C) %s by Mandriva", '2002-2008'),
+ version => $Rpmdrake::init::version,
+ copyright => N("Copyright (C) %s by Mandriva", '2002-2009'),
license => $license, wrap_license => 1,
comments => N("Rpmdrake is Mandriva Linux package management tool."),
website => 'http://mandrivalinux.com',