summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/interactive')
-rw-r--r--perl-install/interactive/gtk.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index af8c51453..5ec9f3c2f 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -763,6 +763,12 @@ sub filter_widgets {
my $help_path = "/usr/share/doc/installer-help";
+sub is_help_file_exist {
+ my ($id) = @_;
+ $id =~ s/#.*//;
+ -e "$help_path/$id.html";
+}
+
sub load_from_uri {
my ($view, $url) = @_;
$url = get_html_file($::o, $url);