diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-08-04 00:06:29 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-08-04 00:06:29 +0000 |
commit | 43e776968595de9f499cbd75e65f7e67135e00f2 (patch) | |
tree | 7edde1efdc2d14c64e097a43c892b7b4703c7263 /perl-install | |
parent | e4b61d4b1d44ee8299e168566699c248901e4bd7 (diff) | |
download | drakx-43e776968595de9f499cbd75e65f7e67135e00f2.tar drakx-43e776968595de9f499cbd75e65f7e67135e00f2.tar.gz drakx-43e776968595de9f499cbd75e65f7e67135e00f2.tar.bz2 drakx-43e776968595de9f499cbd75e65f7e67135e00f2.tar.xz drakx-43e776968595de9f499cbd75e65f7e67135e00f2.zip |
disable selecting text and popping the contextual menu
(GUI team says it's *horrible* to be able to do select text!)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/ugtk2.pm | 1 |
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}); |