summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-12-09 21:37:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-12-09 21:37:32 +0000
commit959943551599fc1fe7e1bba59b508d8d441b448e (patch)
tree9c52ad4e0ca016f87679edfdf1410b42a071e835 /perl-install/ugtk2.pm
parentb87d2d404d5553b9bce42084b4c8cf69061a7966 (diff)
downloaddrakx-959943551599fc1fe7e1bba59b508d8d441b448e.tar
drakx-959943551599fc1fe7e1bba59b508d8d441b448e.tar.gz
drakx-959943551599fc1fe7e1bba59b508d8d441b448e.tar.bz2
drakx-959943551599fc1fe7e1bba59b508d8d441b448e.tar.xz
drakx-959943551599fc1fe7e1bba59b508d8d441b448e.zip
remove dynamic theme choosing, and next/previous (F11/F12) handling
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm7
1 files changed, 1 insertions, 6 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 75e579a2a..2c97dad0e 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -850,10 +850,7 @@ sub _create_window($$) {
$w->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',
- Gtk2::Gdk::Event::Key->Sym_F5 => 'set_theme',
- Gtk2::Gdk::Event::Key->Sym_F12 => 'next',
- Gtk2::Gdk::Event::Key->Sym_F11 => 'previous' }}{$event->keyval};
+ Gtk2::Gdk::Event::Key->Sym_F2 => 'screenshot' }}{$event->keyval};
if ($event->keyval == Gtk2::Gdk::Event::Key->Sym_Print) { #- TEMP
print STDERR "Sym Print\n"; #- TEMP
@@ -867,8 +864,6 @@ sub _create_window($$) {
install_gtk::create_big_help($::o);
} elsif ($::isInstall && $d eq 'screenshot') {
common::take_screenshot($o);
- } elsif ($::isInstall && $d eq 'set_theme') {
- $::setstep and die "set_theme\n"; #- set_theme is similar to setstep, don't raise one when not allowed to
} elsif (chr($event->keyval) eq 'e' && member('mod1-mask', @{$event->state})) { #- alt-e
log::l("Switching to " . ($::expert ? "beginner" : "expert"));
$::expert = !$::expert;