Use the Solaris logo and allow it to be displayed on non-default backgrounds
Not suitable for upstream
--- a/schemas/org.fedorahosted.background-logo-extension.gschema.xml
+++ b/schemas/org.fedorahosted.background-logo-extension.gschema.xml
@@ -10,7 +10,7 @@
<schema path="/org/fedorahosted/background-logo-extension/"
id="org.fedorahosted.background-logo-extension">
<key type="s" name="logo-file">
- <default>'/usr/share/pixmaps/fedora_whitelogo.svg'</default>
+ <default>'/usr/share/pixmaps/Oracle_Solaris_Logo.png'</default>
<summary>Logo file</summary>
<description>The full logo file path</description>
</key>
@@ -25,7 +25,7 @@
</key>
<key type="d" name="logo-size">
- <range min="5.0" max="15.0"/>
- <default>9.0</default>
+ <range min="5.0" max="25.0"/>
+ <default>15.0</default>
<summary>Logo size</summary>
<description>The logo size in percent relative to the screen width</description>
</key>
--- a/extension.js
+++ b/extension.js
@@ -141,14 +141,15 @@ const BackgroundLogo = new Lang.Class({
let defaultUri = background._settings.get_default_value('picture-uri');
let file = Gio.File.new_for_commandline_arg(defaultUri.deep_unpack());
- let visible;
+ let visible = true;
+/*
if (background._file) // > 3.14
visible = background._file.equal(file);
else if (background._filename) // <= 3.14
visible = background._filename == file.get_path();
else // background == NONE
visible = false;
-
+ */
Tweener.addTween(this.actor,
{ opacity: visible ? 255 : 0,
time: Background.FADE_ANIMATION_TIME,