summaryrefslogtreecommitdiff
path: root/src/nautilus-notebook.h
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2021-01-13 10:43:40 +0000
committerAntónio Fernandes <antoniojpfernandes@gmail.com>2021-07-08 20:26:35 +0000
commitad41d6f635f46e795ee7842b4f7957d935cd3862 (patch)
tree7bb210366cebfffaf424aecc99d02b106ed7119e /src/nautilus-notebook.h
parentb8ab8514c33f6e01465d37ebde4097461fc42d4d (diff)
downloadnautilus-ad41d6f635f46e795ee7842b4f7957d935cd3862.tar.gz
window-slot: Drop other-locations subclass
The NautilusOtherLocationsWindowSlot subclass has been introduced along with its sibling NautilusDesktopWindowSlot.[0] However, the desktop one is now gone, and this is the only subclass. It does only 2 things differently from its parent class: * Creates a NautilusPlacesView instead of a NautilusFilesView * Disables the slot.files-view-mode-toggle and files-view-mode actions There is little reason not to handle both things in the parent class. Also, changing slots when going in and out of the Other Locations place throws away the navigation data; while this can be worked around by saving and restoring this data, this outweights any potential benefits of subclassing. This commit is equivalent to reverting [0], but due to code style and other changes, a clean revert was not possible. Effectively fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/32 [0] commit 5f295bd92cb4dabc44e76dd76e83df8190373bd8
Diffstat (limited to 'src/nautilus-notebook.h')
0 files changed, 0 insertions, 0 deletions