summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/harddrake2
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/harddrake2')
-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();