It's positioned and looks exactly like the browse_toggle_view_button,
but due to the way things are organized, we cannot simply reuse that
button.
Add a clone of browse_toggle_view_button in the search entry page of
the toolbar stack. Make it toggle the same action as of the original
button, and bind the icon name and tooltip texts to it too.
</object>
</child>
<child type="end">
- <object class="GtkSpinner" id="search_spinner">
- <property name="visible">0</property>
+ <object class="GtkBox">
+ <property name="spacing">6</property>
+
+ <child>
+ <object class="GtkSpinner" id="search_spinner">
+ <property name="visible">0</property>
+ </object>
+ </child>
+
+ <child>
+ <object class="GtkButton">
+ <property name="action-name">item.toggle-view</property>
+ <binding name="icon-name">
+ <lookup name="icon-name">browse_toggle_view_button</lookup>
+ </binding>
+ <binding name="tooltip-text">
+ <lookup name="tooltip-text">browse_toggle_view_button</lookup>
+ </binding>
+ </object>
+ </child>
</object>
</child>
</object>