From 99ba8c278080a0a1d66a3eb0f30422a8638191c0 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 6 Feb 2003 13:53:45 +0000 Subject: drop "F1" for help (since a "Help" button is now available) --- perl-install/ugtk2.pm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'perl-install') diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 52b710e12..d8596f327 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -748,13 +748,9 @@ sub new { $::WizardWindow->set_uposition($::stepswidth + $::windowwidth * 0.04, $::logoheight + $::windowheight * ($::logoheight ? 0.15 : 0.05)); $::WizardWindow->signal_connect(key_press_event => sub { my (undef, $event) = @_; - my $d = ${{ Gtk2::Gdk::Event::Key->Sym_F1 => 'help', - Gtk2::Gdk::Event::Key->Sym_F2 => 'screenshot' }}{$event->keyval}; + my $d = ${{ Gtk2::Gdk::Event::Key->Sym_F2 => 'screenshot' }}{$event->keyval}; - if ($d eq "help") { - require install_gtk; - install_gtk::create_big_help($::o); - } elsif ($d eq 'screenshot') { + if ($d eq 'screenshot') { common::take_screenshot(); } elsif (chr($event->keyval) eq 'e' && member('mod1-mask', @{$event->state})) { #- alt-e log::l("Switching to " . ($::expert ? "beginner" : "expert")); -- cgit v1.2.1