summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-25 11:21:35 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-25 11:21:35 +0000
commitbc9c9324c35e0091cd3368b70c1dca58e4a8d8d5 (patch)
tree802ced7190c708291ef283fcf7cefbd1537d5836 /perl-install/mygtk2.pm
parent4ec1bfc1020ed526d341f465b6c7be991b2b6ef3 (diff)
downloaddrakx-bc9c9324c35e0091cd3368b70c1dca58e4a8d8d5.tar
drakx-bc9c9324c35e0091cd3368b70c1dca58e4a8d8d5.tar.gz
drakx-bc9c9324c35e0091cd3368b70c1dca58e4a8d8d5.tar.bz2
drakx-bc9c9324c35e0091cd3368b70c1dca58e4a8d8d5.tar.xz
drakx-bc9c9324c35e0091cd3368b70c1dca58e4a8d8d5.zip
(_gtk__ScrolledWindow) enable mcc to not display any shadow around HTML view when using scrollbars
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 88b497870..9e4c870c8 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -601,7 +601,7 @@ sub _gtk__ScrolledWindow {
$child->{to_bottom} = _allow_scroll_TextView_to_bottom($w, $child);
}
- if ($action eq 'gtknew' && ref($child) =~ /Gtk2::(Html2|SimpleList|TextView|TreeView|WebKit::WebView)/) {
+ if (!delete $opts->{no_shadow} && $action eq 'gtknew' && ref($child) =~ /Gtk2::(Html2|SimpleList|TextView|TreeView|WebKit::WebView)/) {
$faked_w = gtknew('Frame', shadow_type => 'in', child => $w);
}
}