summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-13 16:53:57 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-13 16:53:57 +0000
commit28a3dca0987b138e654d8bb7f96f5cb460576c7f (patch)
treefc1e38199988c696aa4582e29366244f0202a2eb
parent7e09679225247fe5869cf15e7ea82632fc8ea037 (diff)
downloaddrakx-28a3dca0987b138e654d8bb7f96f5cb460576c7f.tar
drakx-28a3dca0987b138e654d8bb7f96f5cb460576c7f.tar.gz
drakx-28a3dca0987b138e654d8bb7f96f5cb460576c7f.tar.bz2
drakx-28a3dca0987b138e654d8bb7f96f5cb460576c7f.tar.xz
drakx-28a3dca0987b138e654d8bb7f96f5cb460576c7f.zip
(create_scrolled_window) add relief for TreeViews too (interface team
request)
-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