Skip to content

Commit d880133

Browse files
committed
Add new enums, settings key for xdg-desktop-portal color-scheme.
1 parent ccc87fe commit d880133

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
lines changed

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
cinnamon-desktop (5.7.0) UNRELEASED; urgency=medium
2+
3+
* 5.7.0 - bump for xdg-desktop-portal-cinnamon
4+
5+
-- Michael Webster <[email protected]> Thu, 26 Jan 2023 20:18:19 -0500
6+
17
cinnamon-desktop (5.6.1) vera; urgency=medium
28

39
[ Michael Webster ]

libcinnamon-desktop/cdesktop-enums.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,13 @@ typedef enum
202202
C_DESKTOP_STYLUS_BUTTON_ACTION_FORWARD
203203
} CDesktopStylusButtonAction;
204204

205+
typedef enum
206+
{
207+
C_DESKTOP_COLOR_SCHEME_DEFAULT,
208+
C_DESKTOP_COLOR_SCHEME_PREFER_DARK,
209+
C_DESKTOP_COLOR_SCHEME_PREFER_LIGHT,
210+
} CDesktopColorScheme;
211+
205212
typedef enum
206213
{
207214
/* All bindings before _SEPARATOR are treated as

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Meson build file
22

33
# https://github.com/linuxmint/cinnamon-desktop
4-
project('cinnamon-desktop', 'c', version: '5.6.1',
4+
project('cinnamon-desktop', 'c', version: '5.7.0',
55
meson_version: '>=0.50.0'
66
)
77

schemas/org.cinnamon.desktop.interface.gschema.xml.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,5 +293,12 @@
293293
<default>false</default>
294294
<summary>Prefer variant names instead of country codes when showing keyboard layouts.</summary>
295295
</key>
296+
<key name="color-scheme" enum="org.cinnamon.desktop.CDesktopColorScheme">
297+
<default>'default'</default>
298+
<summary>Color scheme</summary>
299+
<description>
300+
The preferred color scheme for the user interface. Valid values are “default”, “prefer-dark”, “prefer-light”.
301+
</description>
302+
</key>
296303
</schema>
297304
</schemalist>

0 commit comments

Comments
 (0)