Skip to content

Commit

Permalink
Revert "xdg-desktop-portal: Don't ship the x-cinnamon-portals.conf fi…
Browse files Browse the repository at this point in the history
…le."

This reverts commit 13ab48c.

Relying on the legacy portal ends up breaking the dark/light setting.
The reverted commit fixed the settings portal's 'ReadAll' method,
but apparently broke 'Read', which is what libadwaita (and most
others) use to get the 'color-scheme' setting.
  • Loading branch information
mtwebster committed Jun 21, 2024
1 parent a542dba commit d06334b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions data/xdg-portal/meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# install_data(
# 'x-cinnamon-portals.conf',
# install_dir: join_paths(get_option('datadir'), 'xdg-desktop-portal'),
# )
install_data(
'x-cinnamon-portals.conf',
install_dir: join_paths(get_option('datadir'), 'xdg-desktop-portal'),
)
1 change: 1 addition & 0 deletions debian/cinnamon.install
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ usr/libexec
usr/share/applications
usr/share/dbus-1
usr/share/man
usr/share/xdg-desktop-portal

0 comments on commit d06334b

Please sign in to comment.