summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-03-02 11:05:55 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-03-02 11:05:55 +0000
commitb89f1780a785c6d064cd2c1fa5523d7e4545fbbb (patch)
tree1a28475fc1c20f0eb8842700c25ec7a164373bda
parent733b99d93960594b17a8a3beee2c0740d177e33a (diff)
downloaddrakx-b89f1780a785c6d064cd2c1fa5523d7e4545fbbb.tar
drakx-b89f1780a785c6d064cd2c1fa5523d7e4545fbbb.tar.gz
drakx-b89f1780a785c6d064cd2c1fa5523d7e4545fbbb.tar.bz2
drakx-b89f1780a785c6d064cd2c1fa5523d7e4545fbbb.tar.xz
drakx-b89f1780a785c6d064cd2c1fa5523d7e4545fbbb.zip
(create_scrolled_window) Gtk2::Html::View has native scrolling support and
thus behave badly with GtkViewport
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 10d5b4aa3..57f54acf8 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -270,7 +270,7 @@ sub create_scrolled_window {
my ($W, $o_policy, $o_viewport_shadow) = @_;
my $w = Gtk2::ScrolledWindow->new(undef, undef);
$w->set_policy($o_policy ? @$o_policy : ('automatic', 'automatic'));
- if (member(ref($W), qw(Gtk2::Layout Gtk2::Text Gtk2::TextView Gtk2::TreeView))) {
+ if (member(ref($W), qw(Gtk2::Layout Gtk2::Html2::View Gtk2::Text Gtk2::TextView Gtk2::TreeView))) {
$w->add($W);
} else {
$w->add_with_viewport($W);