summaryrefslogtreecommitdiffstats
path: root/perl-install/my_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-08 11:28:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-08 11:28:21 +0000
commit009023a74562757d59bf7eb2d6f6ab9048b44239 (patch)
tree565fdc954c3bf6f1d3621f6e7b8fe15d51157753 /perl-install/my_gtk.pm
parentb80a27d639f0d1159f89d063144bb30696dd575a (diff)
downloaddrakx-009023a74562757d59bf7eb2d6f6ab9048b44239.tar
drakx-009023a74562757d59bf7eb2d6f6ab9048b44239.tar.gz
drakx-009023a74562757d59bf7eb2d6f6ab9048b44239.tar.bz2
drakx-009023a74562757d59bf7eb2d6f6ab9048b44239.tar.xz
drakx-009023a74562757d59bf7eb2d6f6ab9048b44239.zip
- remove buttons to change theme
- add F5 to change the theme to the 'white' theme - cleanup the theme code
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r--perl-install/my_gtk.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index 28abc7ceb..d41430c7a 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -222,6 +222,7 @@ sub _create_window($$) {
$w->signal_connect(key_press_event => sub {
my $d = ${{ 0xffbe => 'help',
0xffbf => 'screenshot',
+ 0xffc2 => 'set_theme',
0xffc9 => 'next',
0xffc8 => 'previous' }}{$_[1]{keyval}};
@@ -230,6 +231,8 @@ 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($_[1]{keyval}) eq 'e' && $_[1]{state} & 8) {
log::l("Switching to " . ($::expert ? "beginner" : "expert"));
$::expert = !$::expert;