[xdg-desktop-portal-gnome/wip/exalm/dark-wallpaper: 6/6] wallpaper: Set dark wallpaper as well
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [xdg-desktop-portal-gnome/wip/exalm/dark-wallpaper: 6/6] wallpaper: Set dark wallpaper as well
- Date: Mon, 7 Feb 2022 11:04:58 +0000 (UTC)
commit 84f4f8619faa8864450562c7178b9390554db78a
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sat Feb 5 02:30:39 2022 +0500
wallpaper: Set dark wallpaper as well
Only allow setting the same image as both for now.
src/wallpaper.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/wallpaper.c b/src/wallpaper.c
index d26cc8f..de0f584 100644
--- a/src/wallpaper.c
+++ b/src/wallpaper.c
@@ -77,6 +77,7 @@ set_gsettings (gchar *schema,
settings = g_settings_new (schema);
return (g_settings_set_string (settings, "picture-uri", uri) &&
+ g_settings_set_string (settings, "picture-uri-dark", uri) &&
g_settings_set_enum (settings, "picture-options", G_DESKTOP_BACKGROUND_STYLE_ZOOM));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]