summaryrefslogtreecommitdiff
path: root/src/nautilus-toolbar-menu-sections.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-toolbar-menu-sections.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-toolbar-menu-sections.h')
-rw-r--r--src/nautilus-toolbar-menu-sections.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nautilus-toolbar-menu-sections.h b/src/nautilus-toolbar-menu-sections.h
index 4bac24ce0..26b405139 100644
--- a/src/nautilus-toolbar-menu-sections.h
+++ b/src/nautilus-toolbar-menu-sections.h
@@ -26,6 +26,7 @@ typedef struct _NautilusToolbarMenuSections NautilusToolbarMenuSections;
struct _NautilusToolbarMenuSections {
GtkWidget *zoom_section;
GtkWidget *extended_section;
+ gboolean supports_undo_redo;
};
G_END_DECLS