summaryrefslogtreecommitdiff
path: root/metadata/dbus-interface.xml
Commit message (Collapse)AuthorAgeFilesLines
* Notify changes in metadataSergio Costas2020-05-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | When a program (like Nautilus) modifies the metadata in a file (like metadata::custom-icon) there is no way of detecting that change from other programs: neither inotify generates an event in the file or the directory holding it, nor is possible to use it in the files at, or the folder itself, ~/.local/share/gvfs-metadata, because writting in them is delayed for nearly a minute. Unfortunately, there are cases where it is needed to be able to detect that. An example (and the reason for this patch) is when Nautilus (or another file manager) modifies the custom icon in a file from the desktop, and the desktop is managed by a different program (in this case, Desktop Icons NG), because the later can't detect the change made by the former and, thus, the file will keep the old icon until the whole desktop is refreshed. To fix this, this patch proposes to add a signal to the org.gtk.vfs.Metadata DBus interface, which will be triggered whenever a key is modified. To avoid saturating the system in case of modifying a lot of keys, it is triggered up to once per second.
* metadata: Get tree from udev via dbusOndrej Holy2015-06-011-0/+5
| | | | | | | | | | | | We don't want to have dependency on udev in client part of gvfs due to app sandboxing. Thus move the code into the metadata daemon and get tree name via dbus. Common code to get metadata proxy has to be moved in metatree code. Mentioned changes caused that unistd.h is also included in meta-get-tree.c and cause symbol redeclaration error. Variable "pause" has to be renamed to avoid this conflict.
* metadata: remove unused dbus unset apiOndrej Holy2015-04-101-5/+0
| | | | | | | Metadata are unset from client side using dbus set api, therefore dbus unset api and corresponding code isn't necessary. There is only one usage of unset api in private meta-set utility, which is replaced by this patch.
* metadata: remove unused dbus get apiOndrej Holy2015-04-101-6/+0
| | | | | Metadata are read from client side directly using meta_tree_enumerate_keys, therefore dbus api and corresponding code isn't necessary.
* Update the Address of the FSFFelix Möller2012-07-301-2/+2
| | | | | | | | | | | | | | | Updating the address of the FSF. This has been done by: while read file; do sed -i 's:59 Temple Place:51 Franklin Street:' $file sed -i 's:Suite 330:Fifth Floor:' $file sed -i 's:02111-1307:02110-1301:' $file done https://bugzilla.gnome.org/show_bug.cgi?id=656598 Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
* Port volume monitoring and metadata to GDBusTomas Bzatek2012-06-041-0/+57
This is a complete port of volume monitors and metadata to GDBus. The (private) d-bus API has been mostly preserved except of MountOp methods. No difference in functionality should be observed.