summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-06 13:53:45 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-06 13:53:45 +0000
commit99ba8c278080a0a1d66a3eb0f30422a8638191c0 (patch)
tree1051b110bef9c26d45d81fc85c99d3d313325d24 /perl-install/ugtk2.pm
parent3b92747aaadc71433aa808edde7e01d450fe99e3 (diff)
downloaddrakx-99ba8c278080a0a1d66a3eb0f30422a8638191c0.tar
drakx-99ba8c278080a0a1d66a3eb0f30422a8638191c0.tar.gz
drakx-99ba8c278080a0a1d66a3eb0f30422a8638191c0.tar.bz2
drakx-99ba8c278080a0a1d66a3eb0f30422a8638191c0.tar.xz
drakx-99ba8c278080a0a1d66a3eb0f30422a8638191c0.zip
drop "F1" for help (since a "Help" button is now available)
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm8
1 files changed, 2 insertions, 6 deletions
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"));