diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-28 16:58:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-28 16:58:49 +0000 |
commit | 4479ed3920f5b5ce4af1359d4b3e485053ab60e1 (patch) | |
tree | 61a631ee0ccc49dafebeb2c9f85246b32efd44aa /lib | |
parent | 28f3551b53039d9a12489f91a4f51f1f431199c0 (diff) | |
download | drakx-kbd-mouse-x11-4479ed3920f5b5ce4af1359d4b3e485053ab60e1.tar drakx-kbd-mouse-x11-4479ed3920f5b5ce4af1359d4b3e485053ab60e1.tar.gz drakx-kbd-mouse-x11-4479ed3920f5b5ce4af1359d4b3e485053ab60e1.tar.bz2 drakx-kbd-mouse-x11-4479ed3920f5b5ce4af1359d4b3e485053ab60e1.tar.xz drakx-kbd-mouse-x11-4479ed3920f5b5ce4af1359d4b3e485053ab60e1.zip |
- 0.49:
- XFdrake: background images are now jpeg files
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Xconfig/resolution_and_depth.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Xconfig/resolution_and_depth.pm b/lib/Xconfig/resolution_and_depth.pm index 18afdef..c50f2ea 100644 --- a/lib/Xconfig/resolution_and_depth.pm +++ b/lib/Xconfig/resolution_and_depth.pm @@ -256,7 +256,7 @@ sub set_default_background { my %theme = getVarsFromSh("$::prefix/etc/sysconfig/bootsplash"); my @l = map { - if (my ($X, $Y, undef, $hour) = /^\Q$theme{THEME}\E-(\d+)x(\d+)(-(.*))?.png$/) { + if (my ($X, $Y, undef, $hour) = /^\Q$theme{THEME}\E-(\d+)x(\d+)(-(.*))?.jpg$/) { { file => $_, X => $X, Y => $Y, hour => $hour }; } else { () } } all($dir); @@ -281,8 +281,9 @@ sub set_default_background { foreach (@wanted) { if ($_->{hour}) { - symlinkf $_->{file}, "$dir/$theme{THEME}-$_->{hour}.png"; + symlinkf $_->{file}, "$dir/$theme{THEME}-$_->{hour}.jpg"; } else { + symlinkf $_->{file}, "$dir/default.jpg"; symlinkf $_->{file}, "$dir/default.png"; } } |