summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 1362b59a6..541f86f8e 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -288,7 +288,7 @@ sub create_scrolled_window {
$o_viewport_shadow and gtkset_shadow_type($w->child, $o_viewport_shadow);
$W->can('set_focus_vadjustment') and $W->set_focus_vadjustment($w->get_vadjustment);
$W->show;
- if (ref($W) eq 'Gtk2::TextView') {
+ if (ref($W) =~ /Gtk2::TextView|Gtk2::TreeView/) {
gtkadd(gtkset_shadow_type(Gtk2::Frame->new, 'in'), $w)
} else {
$w