diff options
author | Neil Herald <neil.herald@gmail.com> | 2016-06-19 19:34:06 +0100 |
---|---|---|
committer | Neil Herald <neil.herald@gmail.com> | 2016-06-23 22:45:06 +0100 |
commit | a312f5652756cda481f0808ed94116ae0f5eabda (patch) | |
tree | ce0bb4e3688c1f94d87d0ffe85174ba880ad587c /src/resources/ui/nautilus-toolbar-view-menu.ui | |
parent | 35f10147ccafd7ddea63e544aacfae81ae0d554e (diff) | |
download | nautilus-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/resources/ui/nautilus-toolbar-view-menu.ui')
-rw-r--r-- | src/resources/ui/nautilus-toolbar-view-menu.ui | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/resources/ui/nautilus-toolbar-view-menu.ui b/src/resources/ui/nautilus-toolbar-view-menu.ui index 38968dbda..06ad3e9bf 100644 --- a/src/resources/ui/nautilus-toolbar-view-menu.ui +++ b/src/resources/ui/nautilus-toolbar-view-menu.ui @@ -91,30 +91,6 @@ <property name="orientation">vertical</property> <property name="width_request">160</property> <child> - <object class="GtkSeparator"> - <property name="visible">True</property> - <property name="orientation">horizontal</property> - <property name="margin-top">6</property> - <property name="margin-bottom">6</property> - </object> - </child> - <child> - <object class="GtkModelButton" id="undo"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="text" translatable="yes">_Undo</property> - <property name="action-name">win.undo</property> - </object> - </child> - <child> - <object class="GtkModelButton" id="redo"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="text" translatable="yes">_Redo</property> - <property name="action-name">win.redo</property> - </object> - </child> - <child> <object class="GtkBox" id="sort_menu"> <property name="visible">True</property> <property name="can_focus">False</property> |