diff options
-rwxr-xr-x | control-center | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/control-center b/control-center index f6e47963..aa0c424d 100755 --- a/control-center +++ b/control-center @@ -1125,6 +1125,8 @@ my $mdk_rel = common::mandrake_release(); my ($notebook_global, $saved_pos_while_in_menu); +my $release = mandrake_release_info(); + my @menu_items = ( [ N("/_File"), undef, undef, undef, '<Branch>' ], [ N("/_File") . N("/_Upload the hardware list"), N("<control>U"), \&upload, undef, '<Item>' ], @@ -1184,6 +1186,10 @@ my @menu_items = ( ), [ N("/_Help"), undef, undef, undef, '<Branch>' ], [ N("/_Help") . N("/_Help"), undef, sub { fork_("drakhelp --id $help_on_context", []) }, undef, '<Item>', N("Help") ], + [ N("/_Help") . N("/_Release notes"), undef, sub { + run_program::raw({ detach => 1 }, '/usr/bin/www-browser', + "http://wiki.mandriva.com/en/Releases/Mandriva/$release->{version}/Notes"); + }, undef, '<Item>', N("Help") ], [ N("/_Help") . N("/_Report Bug"), undef, sub { fork_("drakbug --report drakconf &") }, undef, '<Item>' ], [ N("/_Help") . N("/_About..."), undef, \&about_mdk_cc, undef, '<Item>' ] ); @@ -1905,7 +1911,6 @@ sub about_mdk_cc() { } $list->get_selection->set_mode('none'); - my $release = mandrake_release_info(); gtkpack_($window_about->vbox, (0, gtkset_size_request(Gtk2::Banner->new('splash_screen_about', #-PO: here, %s will be replaced by the version (eg: "Mandriva Linux 2007.1 (Discovery) Control Center") |