diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2023-03-06 16:49:16 +0100 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2023-04-21 07:26:32 +0000 |
commit | 9ff35c642d9acec22bb6e04512e59cabedee53d0 (patch) | |
tree | d855df861d51bf8326da7e236b6786d8897bb3d1 | |
parent | f763e1f97cf4d47ca70ab6f964460e72206bbced (diff) | |
download | nautilus-9ff35c642d9acec22bb6e04512e59cabedee53d0.tar.gz |
flatpak: Fix Tracker3 access to portal
At some point, the flatpak command line interface changed so it is not
possible to add multiple values to a same key with a single --add-policy
call. Doing this now results in a single value added, with the ';'
escaped, this breaks Tracker portal access and results in Nautilus resorting
to the built-in miner instance.
It is however possible to call --add-policy multiple times to make
a multi-valued key, this restores the intended behavior and provides
access to the two tracker:FileSystem and tracker:Documents graphs.
Adapt the flatpak manifest to do this.
Closes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2838
-rw-r--r-- | build-aux/flatpak/org.gnome.Nautilus.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build-aux/flatpak/org.gnome.Nautilus.json b/build-aux/flatpak/org.gnome.Nautilus.json index fe6dbdfca..b8df9f52d 100644 --- a/build-aux/flatpak/org.gnome.Nautilus.json +++ b/build-aux/flatpak/org.gnome.Nautilus.json @@ -28,7 +28,8 @@ "--talk-name=org.gnome.Settings", "--talk-name=org.gnome.Console", "--env=DCONF_USER_CONFIG_DIR=.config/dconf", - "--add-policy=Tracker3.dbus:org.freedesktop.Tracker3.Miner.Files=tracker:FileSystem;tracker:Documents" + "--add-policy=Tracker3.dbus:org.freedesktop.Tracker3.Miner.Files=tracker:FileSystem", + "--add-policy=Tracker3.dbus:org.freedesktop.Tracker3.Miner.Files=tracker:Documents" ], "modules": [ { |