diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2015-08-11 12:33:39 -0300 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2015-08-16 07:21:01 -0300 |
commit | dd90a18a5c66b90323cfd779b329425fda7ffbeb (patch) | |
tree | e3616a617127795e50e210f5542bf60a8cfc207b /src/nautilus-toolbar.h | |
parent | ae96063471fd31f1c58818dfa4b0440ce8302f7e (diff) | |
download | nautilus-wip/gbsneto/view-menu.tar.gz |
view: handle view menuwip/gbsneto/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.
Diffstat (limited to 'src/nautilus-toolbar.h')
-rw-r--r-- | src/nautilus-toolbar.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nautilus-toolbar.h b/src/nautilus-toolbar.h index f281b954d..c66ef91b7 100644 --- a/src/nautilus-toolbar.h +++ b/src/nautilus-toolbar.h @@ -27,6 +27,7 @@ #include <gtk/gtk.h> +#include "nautilus-window-slot.h" #define NAUTILUS_TYPE_TOOLBAR nautilus_toolbar_get_type() #define NAUTILUS_TOOLBAR(obj) \ @@ -70,6 +71,8 @@ GMenu *nautilus_toolbar_get_action_menu (NautilusToolbar *self); void nautilus_toolbar_set_show_location_entry (NautilusToolbar *self, gboolean show_location_entry); -void nautilus_toolbar_reset_menus (NautilusToolbar *self); + +void nautilus_toolbar_set_active_slot (NautilusToolbar *toolbar, + NautilusWindowSlot *slot); #endif /* __NAUTILUS_TOOLBAR_H__ */ |