summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-03-21 08:25:49 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-03-21 10:31:37 +0100
commitdd184c7d5b7e8380b7fdc951ba5209ea96f1ed47 (patch)
treefe286683995ff48ed95a93617ee158d19b459369 /perl-install/interactive/gtk.pm
parent70317428ab51ca1f4f58e5e7b1cf51c06fd3b8b4 (diff)
downloaddrakx-dd184c7d5b7e8380b7fdc951ba5209ea96f1ed47.tar
drakx-dd184c7d5b7e8380b7fdc951ba5209ea96f1ed47.tar.gz
drakx-dd184c7d5b7e8380b7fdc951ba5209ea96f1ed47.tar.bz2
drakx-dd184c7d5b7e8380b7fdc951ba5209ea96f1ed47.tar.xz
drakx-dd184c7d5b7e8380b7fdc951ba5209ea96f1ed47.zip
use WebKit2 instead of WebKit1
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-rw-r--r--perl-install/interactive/gtk.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index dad4375d5..161aaa574 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -783,7 +783,7 @@ sub is_help_file_exist {
sub load_from_uri {
my ($view, $url) = @_;
- $view->open(get_html_file($::o, $url));
+ $view->load_uri(get_html_file($::o, $url), 'file:///');
}
sub get_html_file {
@@ -804,8 +804,8 @@ sub get_html_file {
sub display_help_window {
my ($o, $common) = @_;
if (my $file = $common->{interactive_help_id}) {
- require Gtk3::WebKit;
- my $view = gtknew('WebKit_WebView');
+ require Gtk3::WebKit2;
+ my $view = gtknew('WebKit2_WebView');
load_from_uri($view, $file);