From: Georges Basile Stavracas Neto Date: Wed, 26 Oct 2022 18:01:20 +0000 (-0300) Subject: filechooserwidget: Add toggle view button clone in search X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~9^2~33^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=80736d782bee5fb7cb279b44f30061f4b3604330;p=gtk4.git 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. --- 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 + + +