diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-13 16:53:57 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-13 16:53:57 +0000 |
commit | 28a3dca0987b138e654d8bb7f96f5cb460576c7f (patch) | |
tree | fc1e38199988c696aa4582e29366244f0202a2eb /perl-install/ugtk2.pm | |
parent | 7e09679225247fe5869cf15e7ea82632fc8ea037 (diff) | |
download | drakx-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)
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r-- | perl-install/ugtk2.pm | 2 |
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 |