summaryrefslogtreecommitdiff
path: root/monitor/goa
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2015-09-03 17:53:32 +0200
committerAlexander Larsson <alexl@redhat.com>2015-09-03 17:53:32 +0200
commit59325dfbe1f855434f87b7791d11175bfdfb9766 (patch)
tree77827f15377eb7d82aa6f7889962d5397ed37a15 /monitor/goa
parent7fd91dfb7c48ed31688bcfcdc2dd5ab3f37a7377 (diff)
downloadgvfs-59325dfbe1f855434f87b7791d11175bfdfb9766.tar.gz
Make all gvfs daemons own a name under org.gtk.vfs.*
This allows you to easily allow access to gvfs from a sandbox. Just give it talk access to org.gtk.vfs.* and everything will work. This change does three things: Change the existing mountpoint dbus names from org.gtk.vfs.mountpoint.foo to org.gtk.vfs.mountpoint_foo For other mountpoints, always own: org.gtk.vfs.mountpoint_$pid Change the dbus name of the volume monitors from org.gtk.Private.fooMonitor to org.gtk.vfs.fooMonitor
Diffstat (limited to 'monitor/goa')
-rw-r--r--monitor/goa/Makefile.am2
-rw-r--r--monitor/goa/goa.monitor2
-rw-r--r--monitor/goa/goavolumemonitordaemon.c2
-rw-r--r--monitor/goa/org.gtk.vfs.GoaVolumeMonitor.service.in (renamed from monitor/goa/org.gtk.Private.GoaVolumeMonitor.service.in)2
4 files changed, 4 insertions, 4 deletions
diff --git a/monitor/goa/Makefile.am b/monitor/goa/Makefile.am
index e8ef5647..1928e2e3 100644
--- a/monitor/goa/Makefile.am
+++ b/monitor/goa/Makefile.am
@@ -32,7 +32,7 @@ remote_volume_monitorsdir = $(datadir)/gvfs/remote-volume-monitors
remote_volume_monitors_DATA = goa.monitor
servicedir = $(datadir)/dbus-1/services
-service_in_files = org.gtk.Private.GoaVolumeMonitor.service.in
+service_in_files = org.gtk.vfs.GoaVolumeMonitor.service.in
service_DATA = $(service_in_files:.service.in=.service)
$(service_DATA): $(service_in_files) Makefile
diff --git a/monitor/goa/goa.monitor b/monitor/goa/goa.monitor
index a763c6b1..7396cc83 100644
--- a/monitor/goa/goa.monitor
+++ b/monitor/goa/goa.monitor
@@ -1,4 +1,4 @@
[RemoteVolumeMonitor]
Name=GProxyVolumeMonitorGoa
-DBusName=org.gtk.Private.GoaVolumeMonitor
+DBusName=org.gtk.vfs.GoaVolumeMonitor
IsNative=false
diff --git a/monitor/goa/goavolumemonitordaemon.c b/monitor/goa/goavolumemonitordaemon.c
index c9e9f48f..17f72e35 100644
--- a/monitor/goa/goavolumemonitordaemon.c
+++ b/monitor/goa/goavolumemonitordaemon.c
@@ -32,6 +32,6 @@ main (int argc, char *argv[])
g_vfs_proxy_volume_monitor_daemon_init ();
return g_vfs_proxy_volume_monitor_daemon_main (argc,
argv,
- "org.gtk.Private.GoaVolumeMonitor",
+ "org.gtk.vfs.GoaVolumeMonitor",
G_VFS_TYPE_GOA_VOLUME_MONITOR);
}
diff --git a/monitor/goa/org.gtk.Private.GoaVolumeMonitor.service.in b/monitor/goa/org.gtk.vfs.GoaVolumeMonitor.service.in
index cb9a3511..4231821e 100644
--- a/monitor/goa/org.gtk.Private.GoaVolumeMonitor.service.in
+++ b/monitor/goa/org.gtk.vfs.GoaVolumeMonitor.service.in
@@ -1,3 +1,3 @@
[D-BUS Service]
-Name=org.gtk.Private.GoaVolumeMonitor
+Name=org.gtk.vfs.GoaVolumeMonitor
Exec=@libexecdir@/gvfs-goa-volume-monitor