summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-05-15 16:27:30 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-05-15 16:27:30 +0000
commit921664c6d70c1ed96f917c164bd0aeace1632b83 (patch)
tree624b87f5d627358b1227495a7c0c555f92cd4010 /perl-install/ugtk2.pm
parent9537cf31c55733b3468a743d0fb768e6586846b5 (diff)
downloaddrakx-backup-do-not-use-921664c6d70c1ed96f917c164bd0aeace1632b83.tar
drakx-backup-do-not-use-921664c6d70c1ed96f917c164bd0aeace1632b83.tar.gz
drakx-backup-do-not-use-921664c6d70c1ed96f917c164bd0aeace1632b83.tar.bz2
drakx-backup-do-not-use-921664c6d70c1ed96f917c164bd0aeace1632b83.tar.xz
drakx-backup-do-not-use-921664c6d70c1ed96f917c164bd0aeace1632b83.zip
(create_dialog) scroll window if needed
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index af30e3f61..76e8f6834 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -361,7 +361,8 @@ sub create_dialog {
$dialog->set_title($title);
$dialog->set_border_width(10);
$dialog->set_position('center-on-parent'); # center-on-parent doesn't work
- $dialog->vbox->pack_start(my $text = Gtk2::Label->new($label), 1, 1, 0);
+ $dialog->set_size_request(-1, 400);
+ $dialog->vbox->pack_start(create_scrolled_window(my $text = Gtk2::Label->new($label), [ 'never', 'automatic']), 1, 1, 0);
$text->set_line_wrap(1);
my $button = Gtk2::Button->new(N("OK"));