summaryrefslogtreecommitdiff
path: root/src/nautilus-freedesktop-dbus.h
Commit message (Collapse)AuthorAgeFilesLines
* freedesktop-dbus: Migrate to G_DECLARE_FINAL_TYPEYi-Soo An2018-11-231-15/+3
| | | | Use the convenience macro instead of manually declaring necessary macros.
* nautilus-application: Publish window->location mappingsPhilip Langdale2018-05-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a reworking of a long standing Ubuntu patch that publishes the set of locations open in each Nautilus window. The motivation for this change is that a desktop environment providing special icons for things like removable devices and the trash can match windows to those icons for highlighting purposes. In the original incarnation, Unity provided these icons. In today's world, I'm maintaining a set of patches for dash-to-dock/ubunut-dock that provide these icons too. The original implementation uses Xids to identify windows, but Xids aren't a thing in Wayland so this mechanism is a dead end. Instead, we can use the 'gtk application window object paths' which are published over dbus by GtkApplications, including Nautilus. Mutter already detects these, and makes them available on MetaWindows. The original patch added the mapping property to the fileManager1 interface, and I have left that part as-is, but it's likely not to be the right place to put it. fileManager1 is a generic interface and a property that assumes a GTK behaviour doesn't seem right. We could obviously add it to a new interface under org.gnome.Nautilus, but this would be Nautilus specific - although there isn't a huge scope for other file managers to implement this property, so perhaps that's just fine. dash-to-dock discussion is readable here: https://github.com/micheleg/dash-to-dock/pull/677
* general: Remove include guards in favor of pragma onceAlexandru Fazakas2018-03-191-5/+1
| | | | | | | | | | | | | | | | | | The traditional include guards are not as easy to handle and require extra thought into the names. Pragma once is an easier, more contributor friendly approach. Closes https://gitlab.gnome.org/GNOME/nautilus/issues/294 general: Remove include guards in favor of pragma once The traditional include guards are not as easy to handle and require extra thought into the names. Pragma once is an easier, more contributor friendly approach. Closes https://gitlab.gnome.org/GNOME/nautilus/issues/294
* Don't mention FSF addressCosimo Cecchi2014-02-171-2/+1
| | | | | | Use the website instead. https://bugzilla.gnome.org/show_bug.cgi?id=721518
* NautilusFreedesktopDBus: add public setter for OpenLocationsMarco Trevisan (TreviƱo)2013-03-041-0/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=694266
* freedesktop-dbus: use #defines for string literalsCosimo Cecchi2013-01-021-0/+4
| | | | So that we can re-use these later.
* application: centralize dbus service handling into GApplicationCosimo Cecchi2012-12-061-3/+6
| | | | | Instead of each service installing its own timeout, use the service features of GApplication to do this automatically.
* Pass the NautilusApplication to the freedesktop DBus managerFederico Mena Quintero2011-12-061-1/+3
| | | | Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* DBus boilerplate for handling the org.freedesktop.FileManager1 serviceFederico Mena Quintero2011-12-061-0/+29
Signed-off-by: Federico Mena Quintero <federico@gnome.org>