aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-01-07 19:43:38 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-01-07 19:43:38 +0000
commit4b6571f9f338cff37c299462f9f0833224b59dc0 (patch)
tree70949561b353a4626dfb326114209fdc7d1b1190 /rpmdrake.pm
parent37aa2caa350ee8577be82f79a416ab38b5ea89ae (diff)
downloadrpmdrake-4b6571f9f338cff37c299462f9f0833224b59dc0.tar
rpmdrake-4b6571f9f338cff37c299462f9f0833224b59dc0.tar.gz
rpmdrake-4b6571f9f338cff37c299462f9f0833224b59dc0.tar.bz2
rpmdrake-4b6571f9f338cff37c299462f9f0833224b59dc0.tar.xz
rpmdrake-4b6571f9f338cff37c299462f9f0833224b59dc0.zip
have the interactive message with a scroll in a GtkFrame
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 1ea91543..254562e3 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -75,8 +75,9 @@ sub interactive_msg {
my $d = ugtk2->new($title, grab => 1, if_(exists $options{transient}, transient => $options{transient}));
gtkadd($d->{window},
gtkpack_(Gtk2::VBox->new(0,5),
- 1, $options{scroll} ? gtkset_size_request(create_scrolled_window(gtktext_insert(Gtk2::TextView->new, $contents)),
- $typical_width*2, 300)
+ 1, $options{scroll} ? gtkadd(gtkset_shadow_type(Gtk2::Frame->new, 'in'),
+ gtkset_size_request(create_scrolled_window(gtktext_insert(Gtk2::TextView->new, $contents)),
+ $typical_width*2, 300))
: Gtk2::Label->new($contents),
0, gtkpack(create_hbox(),
$options{yesno} ? (gtksignal_connect(Gtk2::Button->new($options{text}{yes} || N("Yes")),