summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/draksambashare6
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));