diff options
author | Antoine Ginies <aginies@mandriva.com> | 2007-10-26 15:06:24 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2007-10-26 15:06:24 +0000 |
commit | 87ef7757fd42d70f29a67c8d56a0ebb64cdf0488 (patch) | |
tree | d497b433e2619c0dd2e85ba374bfb55b863e2adc /bin/draksambashare | |
parent | c7f26eab3db78a8373f1e3baeb7a0e1edbdf1a78 (diff) | |
download | drakx-net-87ef7757fd42d70f29a67c8d56a0ebb64cdf0488.tar drakx-net-87ef7757fd42d70f29a67c8d56a0ebb64cdf0488.tar.gz drakx-net-87ef7757fd42d70f29a67c8d56a0ebb64cdf0488.tar.bz2 drakx-net-87ef7757fd42d70f29a67c8d56a0ebb64cdf0488.tar.xz drakx-net-87ef7757fd42d70f29a67c8d56a0ebb64cdf0488.zip |
add an Help menu
Diffstat (limited to 'bin/draksambashare')
-rwxr-xr-x | bin/draksambashare | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/draksambashare b/bin/draksambashare index a3897fc..50c4618 100755 --- a/bin/draksambashare +++ b/bin/draksambashare @@ -180,6 +180,12 @@ sub get_items() { [ N("/_Samba Server") . N("/_Restart"), undef, \&restart_dialog, 1, '<Item>', ], [ N("/_Samba Server") . N("/R_eload"), undef, \&reload_dialog, 1, '<Item>', ], + [ N("/_Help") . N("/Samba Documentation"), undef, sub { + $in->do_pkgs->ensure_is_installed('samba-doc', '/usr/share/doc/samba-doc'); + system("/usr/bin/www-browser /usr/share/doc/samba-doc/htmldocs/index.html &") + }, + 1, '<Item>', ], + [ N("/_About") . N("/_Report Bug"), undef, sub { run_program::raw({ detach => 1 }, 'drakbug', '--report', 'draksambashare') }, 1, '<Item>', ], [ N("/_About") . N("/About..."), undef, sub { my $license = formatAlaTeX(translate($::license)); |