summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--lib/Xconfig/resolution_and_depth.pm6
2 files changed, 6 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 6480bad..ba9d645 100644
--- a/NEWS
+++ b/NEWS
@@ -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";
}
}
}