summaryrefslogtreecommitdiff
path: root/src/nautilus-view.h
diff options
context:
space:
mode:
authorNeil Herald <neil.herald@gmail.com>2016-06-19 19:34:06 +0100
committerNeil Herald <neil.herald@gmail.com>2016-06-23 22:45:06 +0100
commita312f5652756cda481f0808ed94116ae0f5eabda (patch)
treece0bb4e3688c1f94d87d0ffe85174ba880ad587c /src/nautilus-view.h
parent35f10147ccafd7ddea63e544aacfae81ae0d554e (diff)
downloadnautilus-a312f5652756cda481f0808ed94116ae0f5eabda.tar.gz
toolbar: move undo/redo toolbar menu code into toolbarwip/neilh/toolbar-reorg
Due to the toolbar menu reorganisation work, the code to create and manage the undo/redo items on the menu ended up in files-view.c. This isn't the correct place as they don't have much to do with the files view. Some refactoring was needed before the code for these items could be moved back into the toolbar, which has now been done in a previous commit. This commit moves the undo/redo creation and management code into the toolbar. https://bugzilla.gnome.org/show_bug.cgi?id=764632
Diffstat (limited to 'src/nautilus-view.h')
-rw-r--r--src/nautilus-view.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nautilus-view.h b/src/nautilus-view.h
index ad019d6cf..4c76cd0cc 100644
--- a/src/nautilus-view.h
+++ b/src/nautilus-view.h
@@ -41,8 +41,7 @@ struct _NautilusViewInterface
/*
* Returns the menu sections that should be shown in the toolbar menu
- * when this view is active. Implementations can return %NULL to
- * indicate that no extra sections should be added to the menu
+ * when this view is active. Implementations must not return %NULL
*/
NautilusToolbarMenuSections * (*get_toolbar_menu_sections) (NautilusView *view);