diff options
author | Neil Herald <neil.herald@gmail.com> | 2016-05-02 02:40:31 +0100 |
---|---|---|
committer | Neil Herald <neil.herald@gmail.com> | 2016-06-22 23:38:22 +0100 |
commit | 142326cfa1bcc432c0c743a803d1704206a58c4f (patch) | |
tree | 3f64e5704fdc8e35690dc9bd06248e6bc48b318e | |
parent | a3613c0433a8ee4db40f71200ad5b2979a102451 (diff) | |
download | nautilus-142326cfa1bcc432c0c743a803d1704206a58c4f.tar.gz |
toolbar-view-menu: convert new folder/tab/bookmark items to button list
Converted these from three separate menu items into a horizontal button
list, and moved them to the top of the menu, as part of the menu
redesign.
https://bugzilla.gnome.org/show_bug.cgi?id=764632
-rw-r--r-- | src/resources/ui/nautilus-toolbar-view-menu.ui | 119 |
1 files changed, 79 insertions, 40 deletions
diff --git a/src/resources/ui/nautilus-toolbar-view-menu.ui b/src/resources/ui/nautilus-toolbar-view-menu.ui index f85a6d00a..f8e3d241c 100644 --- a/src/resources/ui/nautilus-toolbar-view-menu.ui +++ b/src/resources/ui/nautilus-toolbar-view-menu.ui @@ -9,6 +9,85 @@ <property name="orientation">vertical</property> <property name="width_request">160</property> <child> + <object class="GtkBox" id="new_buttons_box"> + <property name="visible">True</property> + <property name="orientation">horizontal</property> + <property name="margin-bottom">6</property> + <style> + <class name="linked"/> + </style> + <child> + <object class="GtkButton" id="new-folder"> + <property name="visible">True</property> + <property name="action_name">view.new-folder</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon-name">folder-new-symbolic</property> + <property name="icon-size">1</property> + </object> + </child> + <child internal-child="accessible"> + <object class="AtkObject"> + <property name="accessible-name" translatable="yes">New Folder</property> + </object> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="bookmark-this-location"> + <property name="visible">True</property> + <property name="action_name">win.bookmark-current-location</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon-name">bookmark-new-symbolic</property> + <property name="icon-size">1</property> + </object> + </child> + <child internal-child="accessible"> + <object class="AtkObject"> + <property name="accessible-name" translatable="yes">Bookmark this Location</property> + </object> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="new-tab"> + <property name="visible">True</property> + <property name="action-name">win.new-tab</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon-name">tab-new-symbolic</property> + <property name="icon-size">1</property> + </object> + </child> + <child internal-child="accessible"> + <object class="AtkObject"> + <property name="accessible-name" translatable="yes">New Tab</property> + </object> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + </object> + </child> + <child> <object class="GtkScale" id="zoom_level_scale"> <property name="visible">True</property> <property name="can_focus">True</property> @@ -190,46 +269,6 @@ <property name="action-name">win.stop</property> </object> </child> - <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="new-folder"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="text" translatable="yes">New _Folder</property> - <property name="action-name">view.new-folder</property> - </object> - </child> - <child> - <object class="GtkModelButton" id="new-tab"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="text" translatable="yes">New _Tab</property> - <property name="action-name">win.new-tab</property> - </object> - </child> - <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="bookmark-this-location"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="text" translatable="yes">_Bookmark this Location</property> - <property name="action-name">win.bookmark-current-location</property> - </object> - </child> </object> </child> </object> |