diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-02 11:05:55 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-02 11:05:55 +0000 |
commit | b89f1780a785c6d064cd2c1fa5523d7e4545fbbb (patch) | |
tree | 1a28475fc1c20f0eb8842700c25ec7a164373bda /perl-install/ugtk2.pm | |
parent | 733b99d93960594b17a8a3beee2c0740d177e33a (diff) | |
download | drakx-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
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r-- | perl-install/ugtk2.pm | 2 |
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); |