diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-01-12 16:25:54 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-01-12 16:25:54 +0000 |
commit | d96e19996b42448eb77720058af4b5654393974e (patch) | |
tree | 9bf751fecec4de43d1f7077e08d8354dd2f7741f /rpmdrake.pm | |
parent | 0c6ad798be8bdf7206cd03a9318262ea52ade5cf (diff) | |
download | rpmdrake-d96e19996b42448eb77720058af4b5654393974e.tar rpmdrake-d96e19996b42448eb77720058af4b5654393974e.tar.gz rpmdrake-d96e19996b42448eb77720058af4b5654393974e.tar.bz2 rpmdrake-d96e19996b42448eb77720058af4b5654393974e.tar.xz rpmdrake-d96e19996b42448eb77720058af4b5654393974e.zip |
Factorize open-help code
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 430b078b..a97a2ee9 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -754,4 +754,13 @@ It will be disabled.", 1; } +sub open_help { + my ($mode) = @_; + system("drakhelp --id software-management-$mode &"); + interactive_msg( + N("Help launched in background"), + N("The help window has been started, it should appear shortly on your desktop."), + ); +} + 1; |