summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-16 19:59:53 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-16 19:59:53 +0000
commitbff775caf7b3f37116bd3d9ab631125d1c16065a (patch)
treeecf01ee7964df84426310fce39ea6d0673d73db6 /perl-install/mygtk2.pm
parentc38303069f287b4ffb91b2ca9f63614e1ecaec9b (diff)
downloaddrakx-bff775caf7b3f37116bd3d9ab631125d1c16065a.tar
drakx-bff775caf7b3f37116bd3d9ab631125d1c16065a.tar.gz
drakx-bff775caf7b3f37116bd3d9ab631125d1c16065a.tar.bz2
drakx-bff775caf7b3f37116bd3d9ab631125d1c16065a.tar.xz
drakx-bff775caf7b3f37116bd3d9ab631125d1c16065a.zip
(_gtk__ScrolledWindow) simplify
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r--perl-install/mygtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 55abf2ead..c968681e5 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -586,7 +586,7 @@ sub _gtk__ScrolledWindow {
$child->{to_bottom} = _allow_scroll_TextView_to_bottom($w, $child);
}
- if ($action eq 'gtknew' && ref($child) =~ /Gtk2::SimpleList|Gtk2::Html2|Gtk2::TextView|Gtk2::TreeView|Gtk2::WebKit::WebView/) {
+ if ($action eq 'gtknew' && ref($child) =~ /Gtk2::(SimpleList|Html2|TextView|TreeView|WebKit::WebView)/) {
$faked_w = gtknew('Frame', shadow_type => 'in', child => $w);
}
}