From 43e776968595de9f499cbd75e65f7e67135e00f2 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 4 Aug 2003 00:06:29 +0000 Subject: disable selecting text and popping the contextual menu (GUI team says it's *horrible* to be able to do select text!) --- perl-install/ugtk2.pm | 1 + 1 file changed, 1 insertion(+) 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}); -- cgit v1.2.1