summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/ugtk2.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 515d89378..7cb3d6ce0 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -314,6 +314,7 @@ sub create_box_with_title {
my $wtext = Gtk2::TextView->new;
$wtext->set_left_margin(3);
$wtext->can_focus($has_scroll);
+ $wtext->signal_connect(button_press_event => sub { 1 }); #- disable selecting text and popping the contextual menu (GUI team says it's *horrible* to be able to do select text!)
chomp(my $text = join("\n", @_));
my $scroll = create_scrolled_window(gtktext_insert($wtext, $text));
$scroll->set_size_request(400, $o->{box_size});