summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Berla <corey@berla.me>2022-07-30 14:50:50 +0000
committerAntónio Fernandes <antoniof@gnome.org>2022-07-30 14:50:50 +0000
commit42cfa365fb0566472ce67e5f8c2ad401efe10e45 (patch)
tree5c36768225586c5d9d7ca20a881952d05e3e0589
parent1c569b008e0ed7e896c41c43ef81554370ac85dc (diff)
downloadnautilus-42cfa365fb0566472ce67e5f8c2ad401efe10e45.tar.gz
flatpak: Enable talk to org.gtk.MountOperationHandler
When unmounting a volume from the sidebar, there's a feature to also empty the trash, which is crashing because of an x11 dependency in GTK. It turns out that that dependency is only if you can't communicate with the org.gtkMountOperationHandler dbus interface. Add talk-name to the flatpak manifest.
-rw-r--r--build-aux/flatpak/org.gnome.Nautilus.json1
-rw-r--r--build-aux/flatpak/org.gnome.Nautilus.yml1
2 files changed, 2 insertions, 0 deletions
diff --git a/build-aux/flatpak/org.gnome.Nautilus.json b/build-aux/flatpak/org.gnome.Nautilus.json
index d2eb52694..89dcd1949 100644
--- a/build-aux/flatpak/org.gnome.Nautilus.json
+++ b/build-aux/flatpak/org.gnome.Nautilus.json
@@ -19,6 +19,7 @@
"--filesystem=/tmp",
"--talk-name=org.gtk.vfs",
"--talk-name=org.gtk.vfs.*",
+ "--talk-name=org.gtk.MountOperationHandler",
"--filesystem=xdg-run/gvfsd",
"--filesystem=xdg-run/dconf",
"--filesystem=~/.config/dconf:ro",
diff --git a/build-aux/flatpak/org.gnome.Nautilus.yml b/build-aux/flatpak/org.gnome.Nautilus.yml
index 4a2e3793c..558fe95ab 100644
--- a/build-aux/flatpak/org.gnome.Nautilus.yml
+++ b/build-aux/flatpak/org.gnome.Nautilus.yml
@@ -18,6 +18,7 @@ finish-args:
- "--filesystem=/tmp"
- "--talk-name=org.gtk.vfs"
- "--talk-name=org.gtk.vfs.*"
+- "--talk-name=org.gtk.MountOperationHandler"
- "--filesystem=xdg-run/gvfsd"
- "--filesystem=xdg-run/dconf"
- "--filesystem=~/.config/dconf:ro"