diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-09-08 20:15:10 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-09-08 20:15:10 +0000 |
commit | 50ba5cb41fe11a195f66011d11da21089be9cba9 (patch) | |
tree | 4e0573779f064c4a4dc1d3cc9e93be57077efa59 /perl-install/standalone/drakperm | |
parent | 7393135d912181601c0aa6f1050664f5866180bf (diff) | |
download | drakx-50ba5cb41fe11a195f66011d11da21089be9cba9.tar drakx-50ba5cb41fe11a195f66011d11da21089be9cba9.tar.gz drakx-50ba5cb41fe11a195f66011d11da21089be9cba9.tar.bz2 drakx-50ba5cb41fe11a195f66011d11da21089be9cba9.tar.xz drakx-50ba5cb41fe11a195f66011d11da21089be9cba9.zip |
add help buttons
Diffstat (limited to 'perl-install/standalone/drakperm')
-rwxr-xr-x | perl-install/standalone/drakperm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm index b5d25b0fb..9627bbf0b 100755 --- a/perl-install/standalone/drakperm +++ b/perl-install/standalone/drakperm @@ -120,6 +120,9 @@ Select permissions to see/edit", $default_perm_level)), [ N("Delete"), N("Delete selected rule"), \&del_callback ], [ N("Edit"), N("Edit current rule"), \&edit_callback ])), 0, gtkpack(Gtk2::HButtonBox->new, + gtksignal_connect(Gtk2::Button->new(N("Help")), clicked => + sub { unless (fork()) { exec("drakhelp --id drakperm") } }), + Gtk2::Label->new(""), gtksignal_connect(Gtk2::Button->new(N("Cancel")), clicked => sub { ugtk2->exit }), gtksignal_connect(Gtk2::Button->new(N("Ok")), clicked => \&save_perm), ) |