From e378c439355fbde60c6f2049380de001a727937d Mon Sep 17 00:00:00 2001 From: freesource Date: Sat, 9 Dec 2000 20:30:34 +0000 Subject: [PATCH] * 2 too many C --- YardBox.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/YardBox.pm b/YardBox.pm index 12dfc0c..2d2a2f5 100644 --- a/YardBox.pm +++ b/YardBox.pm @@ -48,7 +48,8 @@ my @menu_items = ( { path => '/File', callback => sub { print "hello\n"; } }, { path => '/File/file_separator', type => '' }, - { path => '/File/_Close', + { path => '/File/Close', + accelerator => 'W', callback => sub { destroy $yard_window; }}, { path => '/_Edit', @@ -132,7 +133,7 @@ sub yard_box { my $vbox = new Gtk::VBox( $false, 0 ); $vbox->border_width( 0 ); - $main_vbox->pack_start( $vbox, $false, $false, 0 ); + $main_vbox->pack_start( $vbox, $false, $true, 0 ); $vbox->show(); # Item::Factory