diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2015-08-11 12:33:39 -0300 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2015-08-16 19:32:52 +0200 |
commit | 764b98f6f47395559fde40d47f09ce0cafc4719c (patch) | |
tree | b380fd37e4cac42c1b5f8209c2109a5a0775099b /src/nautilus-window-slot.h | |
parent | 328348c6f76bc72823c1a8464937b7f4208674d9 (diff) | |
download | nautilus-764b98f6f47395559fde40d47f09ce0cafc4719c.tar.gz |
view: handle view menu
NautilusToolbar handles the view menu, requiring
direct access to the underlying view inside the
window slot.
Since we're wiping out every access to the underlying
view, we shouldn't access it from NautilusToolbar.
To fix that, makes the view handle the view widget.
Since we're making NautilusWindowSlot a wrapper, add
the necessary properties for it to expose view data
without exposing the view itself.
https://bugzilla.gnome.org/show_bug.cgi?id=753673
Diffstat (limited to 'src/nautilus-window-slot.h')
-rw-r--r-- | src/nautilus-window-slot.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nautilus-window-slot.h b/src/nautilus-window-slot.h index 97ff788ae..36d27bc27 100644 --- a/src/nautilus-window-slot.h +++ b/src/nautilus-window-slot.h @@ -127,4 +127,8 @@ void nautilus_window_slot_display_view_selection_failure (NautilusWindow *wind GFile *location, GError *error); +GIcon* nautilus_window_slot_get_icon (NautilusWindowSlot *slot); + +GtkWidget* nautilus_window_slot_get_view_widget (NautilusWindowSlot *slot); + #endif /* NAUTILUS_WINDOW_SLOT_H */ |