Skip to content

Commit 9ab520c

Browse files
authored
ColorScheme: Remove accountsservice finish arg (#144)
As of Granite 6.1.2 we don't need this sandbox hole anymore since we use the settings portal
1 parent 78c5e3e commit 9ab520c

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

apis/color-scheme.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,6 @@ executable(
3939
)
4040
```
4141

42-
Also, you need to update the `finish-args` section of your app's Flatpak manifest file with permission to read the user's style preference from AccountsService:
43-
44-
```yaml
45-
finish-args:
46-
- '--share=ipc'
47-
- '--socket=fallback-x11'
48-
- '--socket=wayland'
49-
50-
# Needed to read prefer-color-scheme with Granite.Settings
51-
- '--system-talk-name=org.freedesktop.Accounts'
52-
```
53-
5442
Now, you can read and respond to the user's style preference with `Granite.Settings` and then use `Gtk.Settings` to set it in your app's `activate` function.
5543

5644
```csharp

0 commit comments

Comments
 (0)