diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | lib/Xconfig/resolution_and_depth.pm | 6 |
2 files changed, 6 insertions, 3 deletions
@@ -1,3 +1,6 @@ +- default theme backgrounds are now png instead of jpg, adapted symlink + accordingly (default.png) (mga#19292) + Version 1.14 - 14 July 2016 - switch from legacy (KOI8-R) 'ru4' keyboard to 'ru' diff --git a/lib/Xconfig/resolution_and_depth.pm b/lib/Xconfig/resolution_and_depth.pm index 06662ce..fc008ce 100644 --- a/lib/Xconfig/resolution_and_depth.pm +++ b/lib/Xconfig/resolution_and_depth.pm @@ -263,7 +263,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+)(-(.*))?.jpg$/) { + if (my ($X, $Y, undef, $hour) = /^\Q$theme{THEME}\E-(\d+)x(\d+)(-(.*))?.png$/) { { file => $_, X => $X, Y => $Y, hour => $hour }; } else { () } } all($dir); @@ -288,9 +288,9 @@ sub set_default_background { foreach (@wanted) { if ($_->{hour}) { - symlinkf $_->{file}, "$dir/$theme{THEME}-$_->{hour}.jpg"; + symlinkf $_->{file}, "$dir/$theme{THEME}-$_->{hour}.png"; } else { - symlinkf $_->{file}, "$dir/default.jpg"; + symlinkf $_->{file}, "$dir/default.png"; } } } |