File gsettings-desktop-schemas-fate324570-Add-key-for-GDM-background-configuration.patch of Package gsettings-desktop-schemas.9765

From 02c40aeea16cd570cc8238628ca9e77e76ce9d73 Mon Sep 17 00:00:00 2001
From: Chingkai <chuchingkai@gmail.com>
Date: Fri, 19 Oct 2018 13:37:15 +0800
Subject: [PATCH] schemas: Add settings for
 org.gnome.desktop.background.lockdialog

This key is for the background of lockDialogGroup which makes login
and lock background configurable. The default behavior will be
retained to what it is currently.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/680
---
 schemas/Makefile-schemas.include                   |  1 +
 schemas/Makefile.in                                |  1 +
 ...me.desktop.background.lockdialog.gschema.xml.in | 59 ++++++++++++++++++++++
 3 files changed, 61 insertions(+)
 create mode 100644 schemas/org.gnome.desktop.background.lockdialog.gschema.xml.in

diff --git a/schemas/Makefile-schemas.include b/schemas/Makefile-schemas.include
index f9f8514..fca5af6 100644
--- a/schemas/Makefile-schemas.include
+++ b/schemas/Makefile-schemas.include
@@ -15,6 +15,7 @@ desktop_gschemas_in =						\
 	org.gnome.desktop.thumbnailers.gschema.xml.in		\
 	org.gnome.desktop.session.gschema.xml.in		\
 	org.gnome.desktop.background.gschema.xml.in		\
+	org.gnome.desktop.background.lockdialog.gschema.xml.in	\
 	org.gnome.desktop.calendar.gschema.xml.in		\
 	org.gnome.desktop.datetime.gschema.xml.in		\
 	org.gnome.desktop.media-handling.gschema.xml.in		\
diff --git a/schemas/Makefile.in b/schemas/Makefile.in
index d0b1b9a..1a81b00 100644
--- a/schemas/Makefile.in
+++ b/schemas/Makefile.in
@@ -298,6 +298,7 @@ desktop_gschemas_in = \
 	org.gnome.desktop.thumbnailers.gschema.xml.in		\
 	org.gnome.desktop.session.gschema.xml.in		\
 	org.gnome.desktop.background.gschema.xml.in		\
+	org.gnome.desktop.background.lockdialog.gschema.xml.in	\
 	org.gnome.desktop.calendar.gschema.xml.in		\
 	org.gnome.desktop.datetime.gschema.xml.in		\
 	org.gnome.desktop.media-handling.gschema.xml.in		\
diff --git a/schemas/org.gnome.desktop.background.lockdialog.gschema.xml.in b/schemas/org.gnome.desktop.background.lockdialog.gschema.xml.in
new file mode 100644
index 0000000..b38e699
--- /dev/null
+++ b/schemas/org.gnome.desktop.background.lockdialog.gschema.xml.in
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schemalist gettext-domain="gsettings-desktop-schemas">
+  <schema id="org.gnome.desktop.background.lockdialog" path="/org/gnome/desktop/background/lockdialog/">
+    <key name="picture-options" enum="org.gnome.desktop.GDesktopBackgroundStyle">
+      <default>'wallpaper'</default>
+      <summary>Picture Options</summary>
+      <description>
+        Determines how the image set by wallpaper_filename is rendered.
+        Possible values are “none”, “wallpaper”, “centered”, “scaled”,
+        “stretched”, “zoom”, “spanned”.
+      </description>
+    </key>
+    <key name="picture-uri" type="s">
+      <default>'resource:///org/gnome/shell/theme/noise-texture.png'</default>
+      <summary>Picture URI</summary>
+      <description>
+        URI to use for the background image. Note that the backend only supports
+        local (file://) URIs.
+      </description>
+    </key>
+    <key name="picture-opacity" type="i">
+      <range min="0" max="100"/>
+      <default>100</default>
+      <summary>Picture Opacity</summary>
+      <description>
+        Opacity with which to draw the background picture.
+      </description>
+    </key>
+    <key name="primary-color" type="s">
+      <default>'#2e3436'</default>
+      <summary>Primary Color</summary>
+      <description>
+        Left or Top color when drawing gradients, or the solid color.
+      </description>
+    </key>
+    <key name="secondary-color" type="s">
+      <default>'#2e3436'</default>
+      <summary>Secondary Color</summary>
+      <description>
+        Right or Bottom color when drawing gradients, not used for solid color.
+      </description>
+    </key>
+    <key name="color-shading-type" enum="org.gnome.desktop.GDesktopBackgroundShading">
+      <default>'solid'</default>
+      <summary>Color Shading Type</summary>
+      <description>
+        How to shade the background color. Possible values are “horizontal”,
+        “vertical”, and “solid”.
+      </description>
+    </key>
+    <key name="show-desktop-icons" type="b">
+      <default>false</default>
+      <summary>Have file manager handle the desktop</summary>
+      <description>
+        If set to true, then file manager will draw the icons on the desktop.
+      </description>
+    </key>
+  </schema>
+</schemalist>
-- 
2.13.7

openSUSE Build Service is sponsored by