diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-10-01 11:32:40 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-10-01 11:32:40 +0000 |
commit | ad543101ae251bb9401da0aec7344b69e3046eb2 (patch) | |
tree | 22368740c2b4694e5502c1cfe583ca4fd2ab625b | |
parent | 3c11932412535dbbcca0a8acf76ce1034e78693b (diff) | |
download | rpmdrake-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-- | NEWS | 2 | ||||
-rw-r--r-- | Rpmdrake/init.pm | 2 | ||||
-rwxr-xr-x | rpmdrake | 4 |
3 files changed, 5 insertions, 3 deletions
@@ -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; @@ -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', |