diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-03-17 20:43:27 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-03-17 20:43:27 +0000 |
commit | 44acadbf898afdabebc0afcee757061f8ae0b69c (patch) | |
tree | ffe7edd8c001e277e6e473a6e954ffe364ed8141 | |
parent | e863a16c5313fa6711ca3b48d5f17dc4d5d4a8c0 (diff) | |
download | drakx-44acadbf898afdabebc0afcee757061f8ae0b69c.tar drakx-44acadbf898afdabebc0afcee757061f8ae0b69c.tar.gz drakx-44acadbf898afdabebc0afcee757061f8ae0b69c.tar.bz2 drakx-44acadbf898afdabebc0afcee757061f8ae0b69c.tar.xz drakx-44acadbf898afdabebc0afcee757061f8ae0b69c.zip |
have 1280x1024 in both 4/3 and 5/4 ratios
-rw-r--r-- | perl-install/Xconfig/resolution_and_depth.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm index 2576b01c3..ae7986b8a 100644 --- a/perl-install/Xconfig/resolution_and_depth.pm +++ b/perl-install/Xconfig/resolution_and_depth.pm @@ -239,7 +239,10 @@ sub choose_gtk { my $chosen_ratio = resolution2ratio($chosen_res) || '4/3'; my $filter_on_ratio = sub { - grep { $_->{ratio} eq $chosen_ratio } @_; + grep { + $_->{ratio} eq $chosen_ratio + || $chosen_ratio eq '4/3' && "$_->{X}x$_->{Y}" eq '1280x1024'; + } @_; }; my $filter_on_Depth = sub { grep { $_->{Depth} == $chosen_Depth } @_; |