From 80736d782bee5fb7cb279b44f30061f4b3604330 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Wed, 26 Oct 2022 15:01:20 -0300 Subject: [PATCH] filechooserwidget: Add toggle view button clone in search 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. --- gtk/ui/gtkfilechooserwidget.ui | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/gtk/ui/gtkfilechooserwidget.ui b/gtk/ui/gtkfilechooserwidget.ui index 2dfaebb474..6df28903a5 100644 --- a/gtk/ui/gtkfilechooserwidget.ui +++ b/gtk/ui/gtkfilechooserwidget.ui @@ -110,8 +110,26 @@ - - 0 + + 6 + + + + 0 + + + + + + item.toggle-view + + browse_toggle_view_button + + + browse_toggle_view_button + + + -- 2.30.2