summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm11
1 files changed, 3 insertions, 8 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index ac583bf54..593be7e04 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -900,18 +900,13 @@ sub display_release_notes {
}, [ {} ]);
return;
}
- require Gtk2::Html2;
+ require Gtk2::WebKit;
require ugtk2;
ugtk2->import(':all');
require mygtk2;
mygtk2->import('gtknew');
- my $view = Gtk2::Html2::View->new;
- my $document = Gtk2::Html2::Document->new;
- $view->set_document($document);
-
- $document->clear;
- $document->open_stream("text/html");
- $document->write_stream($o->{release_notes});
+ my $view = Gtk2::WebKit::WebView->new;
+ $view->load_html_string($o->{release_notes}, '/');
my $w = ugtk2->new(N("Release Notes"), transient => $::main_window, modal => 1, pop_it => 1);
gtkadd($w->{rwindow},