From 92d6e9b7da1d3769cdf52fc5ad139ed1c3bc3c15 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 14 Sep 2007 12:00:13 +0000 Subject: (interactive_msg) kill frame around TextView --- rpmdrake.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/rpmdrake.pm b/rpmdrake.pm index 5baee29e..cd338029 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -210,10 +210,9 @@ sub interactive_msg { if_($banner, 0, $banner), 1, ( - $options{scroll} ? gtkadd( - gtkset_shadow_type(Gtk2::Frame->new, 'in'), - ($text_w = create_scrolled_window(gtktext_insert(Gtk2::TextView->new, $contents))), - ) : ($text_w = Gtk2::WrappedLabel->new($contents)) + $options{scroll} ? + ($text_w = create_scrolled_window(gtktext_insert(Gtk2::TextView->new, $contents))) + : ($text_w = Gtk2::WrappedLabel->new($contents)) ), if_($options{widget}, 0, $options{widget}), 0, -- cgit v1.2.1