summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
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 /perl-install/ugtk2.pm
parent7e09679225247fe5869cf15e7ea82632fc8ea037 (diff)
downloaddrakx-backup-do-not-use-28a3dca0987b138e654d8bb7f96f5cb460576c7f.tar
drakx-backup-do-not-use-28a3dca0987b138e654d8bb7f96f5cb460576c7f.tar.gz
drakx-backup-do-not-use-28a3dca0987b138e654d8bb7f96f5cb460576c7f.tar.bz2
drakx-backup-do-not-use-28a3dca0987b138e654d8bb7f96f5cb460576c7f.tar.xz
drakx-backup-do-not-use-28a3dca0987b138e654d8bb7f96f5cb460576c7f.zip
(create_scrolled_window) add relief for TreeViews too (interface team
request)
Diffstat (limited to 'perl-install/ugtk2.pm')
-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