diff options
author | Alexander Larsson <alexl@redhat.com> | 2015-01-26 15:59:05 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2015-01-26 18:16:00 +0100 |
commit | 2592a8ed424906528e90677ef47b040d2b4d8383 (patch) | |
tree | 63ab15e6aa11095a903560cda2c5190feaa98f87 /common | |
parent | 623d6fd8e9912ccc0003fad97578d24f5a5e773a (diff) | |
download | gvfs-2592a8ed424906528e90677ef47b040d2b4d8383.tar.gz |
ProxyVolumeMonitor: Load list of installed remote monitors via dbus
We used to just load the files from this, but that does not work in
a sandboxed environment. For backwards compat we keep loading
the old files if the dbus api is not implemented yet.
Diffstat (limited to 'common')
-rw-r--r-- | common/gvfsmonitorimpl.c | 2 | ||||
-rw-r--r-- | common/org.gtk.vfs.xml | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/common/gvfsmonitorimpl.c b/common/gvfsmonitorimpl.c index 79a5ff78..062379b0 100644 --- a/common/gvfsmonitorimpl.c +++ b/common/gvfsmonitorimpl.c @@ -44,8 +44,6 @@ GVfsMonitorImplementation * g_vfs_monitor_implementation_from_dbus (GVariant *value) { GVfsMonitorImplementation *impl; - const gchar *key; - const gchar *mount_prefix; GVariantIter *iter; GVariant *v; diff --git a/common/org.gtk.vfs.xml b/common/org.gtk.vfs.xml index f8975d91..5030bb5f 100644 --- a/common/org.gtk.vfs.xml +++ b/common/org.gtk.vfs.xml @@ -42,6 +42,9 @@ <arg type='o' name='obj_path' direction='in'/> <arg type='a{sv}' name='reply' direction='out'/> </method> + <method name="ListMonitorImplementations"> + <arg type='a(ssbia{sv})' name='monitors' direction='out'/> + </method> </interface> <!-- |