From 4479ed3920f5b5ce4af1359d4b3e485053ab60e1 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 28 Feb 2008 16:58:49 +0000 Subject: - 0.49: - XFdrake: background images are now jpeg files --- lib/Xconfig/resolution_and_depth.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/Xconfig/resolution_and_depth.pm') 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"; } } -- cgit v1.2.1