summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-08-21 18:05:42 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-08-21 18:05:42 +0000
commit3a7ba24a4532bc34baf4f54d3344d358fe201032 (patch)
treedf0e6941fd909f6f222480c45c2d39e0d1ef619c /perl-install
parentde5fb9a743635e7a14cf4c294ab3b83c6760c240 (diff)
downloaddrakx-3a7ba24a4532bc34baf4f54d3344d358fe201032.tar
drakx-3a7ba24a4532bc34baf4f54d3344d358fe201032.tar.gz
drakx-3a7ba24a4532bc34baf4f54d3344d358fe201032.tar.bz2
drakx-3a7ba24a4532bc34baf4f54d3344d358fe201032.tar.xz
drakx-3a7ba24a4532bc34baf4f54d3344d358fe201032.zip
workaround gtk bug #118047
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/harddrake210
1 files changed, 2 insertions, 8 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index 12a66c26e..1d189b97f 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -189,6 +189,7 @@ $w->{window}->add(gtkpack_(0, Gtk2::VBox->new(0, 0),
)
);
+$text->set_wrap_mode('word');
$frame->set_size_request(300, 450) unless $::isEmbedded;
# $tree->set_column_auto_resize(0, 1);
my (@data, @configurators);
@@ -325,14 +326,7 @@ $textcolumn->set_min_width(350);
#$textcolumn->set_minmax_width(400);
$textcolumn->set_sizing('GTK_TREE_VIEW_COLUMN_AUTOSIZE');#GROW_ONLY
#$tree->columns_autosize();
-# Gtk+-2.x workaround for not wrapped textview on first show
-$tree->signal_connect(realize => sub {
- my $path = Gtk2::TreePath->new_first;
- $path->down;
- $tree->get_selection->select_path($path);
- $path->up;
- $tree->get_selection->select_path($path);
-});
+$tree->signal_connect(realize => sub { $tree->get_selection->select_path(Gtk2::TreePath->new_first) });
$w->{rwindow}->show_all;
undef $wait;
gtkset_mousecursor_normal();