From f3666f6ee244f6cf37bd983f90e4bb352680bf95 Mon Sep 17 00:00:00 2001 From: freesource Date: Fri, 30 Nov 2001 04:45:34 +0000 Subject: [PATCH] Decided against Esc for closing the Yard Box .. Alt-W is sufficient and safer. --- BootRoot/YardBox.pm | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/BootRoot/YardBox.pm b/BootRoot/YardBox.pm index f67f25b..3e825c2 100644 --- a/BootRoot/YardBox.pm +++ b/BootRoot/YardBox.pm @@ -809,15 +809,16 @@ sub yard_box { $search_window->destroy if $search_window; } ); $main::yard_window->signal_connect("delete_event", sub { $search_window->destroy if $search_window; }); - $main::yard_window->signal_connect("key_press_event", sub { - my $event = pop @_; - if ($event->{'keyval'}) { - if ($event->{'keyval'} == 65307) { - $main::yard_window->destroy; - } - } - }, - ); + # Probably not such a good idea, but interesting to try +## $main::yard_window->signal_connect("key_press_event", sub { +## my $event = pop @_; +## if ($event->{'keyval'}) { +## if ($event->{'keyval'} == 65307) { +## $main::yard_window->destroy; +## } +## } +## }, +## ); $main::yard_window->set_usize( 525, 450 ); $main::yard_window->set_policy( $true, $true, $false ); $main::yard_window->set_title( "Yard Box - $template" );