diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-08 11:28:21 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-08 11:28:21 +0000 |
commit | 009023a74562757d59bf7eb2d6f6ab9048b44239 (patch) | |
tree | 565fdc954c3bf6f1d3621f6e7b8fe15d51157753 /perl-install/install2.pm | |
parent | b80a27d639f0d1159f89d063144bb30696dd575a (diff) | |
download | drakx-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/install2.pm')
-rw-r--r-- | perl-install/install2.pm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm index e16f95678..c4305b0aa 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -577,8 +577,12 @@ sub main { $clicked = 1; redo MAIN; } - /^theme_changed$/ and redo MAIN; - unless (/^already displayed/) { + if (/^set_theme$/) { + require install_gtk; + install_gtk::install_theme($o, 'marble3d'); + redo MAIN; + } + if (!/^already displayed/) { eval { $o->errorInStep($_) }; $o->{steps}{$o->{step}}{auto} = 0; $err = $@; |