1. 19 May, 2018 1 commit
    • Philip Langdale's avatar
      nautilus-application: Publish window->location mappings · a1751d3d
      Philip Langdale authored
      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:
  2. 31 Jan, 2014 1 commit
  3. 04 Mar, 2013 1 commit
  4. 06 Dec, 2011 1 commit
  5. 04 May, 2011 1 commit