summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-08-31 21:12:22 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-08-31 21:12:22 +0000
commita7f8d31c10fc7f8ea56478eb374d07a60179cd36 (patch)
tree479594b083b267ac818b7af98e3a5cac078363b0 /perl-install/ugtk2.pm
parent3385b46f67b8ec9e9d6a6afd4402155d44620ab4 (diff)
downloaddrakx-backup-do-not-use-a7f8d31c10fc7f8ea56478eb374d07a60179cd36.tar
drakx-backup-do-not-use-a7f8d31c10fc7f8ea56478eb374d07a60179cd36.tar.gz
drakx-backup-do-not-use-a7f8d31c10fc7f8ea56478eb374d07a60179cd36.tar.bz2
drakx-backup-do-not-use-a7f8d31c10fc7f8ea56478eb374d07a60179cd36.tar.xz
drakx-backup-do-not-use-a7f8d31c10fc7f8ea56478eb374d07a60179cd36.zip
(create_dialog) do not scroll labels by default
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 382ce4ebc..ffd6c5d90 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -381,7 +381,7 @@ sub create_dialog {
gtkpack($dialog->vbox,
gtkpack_(Gtk2::HBox->new,
if_($o_options->{stock}, 0, Gtk2::Image->new_from_stock($o_options->{stock}, 'dialog')),
- 1, create_scrolled_window($text, [ 'never', 'automatic' ]),
+ 1, $o_options->{scroll} ? create_scrolled_window($text, [ 'never', 'automatic' ]) : $text,
),
);