summaryrefslogtreecommitdiff
path: root/src/resources/ui/nautilus-toolbar.ui
diff options
context:
space:
mode:
authorCorey Berla <corey@berla.me>2022-07-21 21:18:46 +0000
committerAntónio Fernandes <antoniof@gnome.org>2022-07-21 21:18:46 +0000
commit512d508679f037d28ca2ed0c3dc0a02367b5543c (patch)
treee1e2f89c182cc0c60cbaea42a60d3517e0134996 /src/resources/ui/nautilus-toolbar.ui
parent5c2cb53bd203159b448b4c2af7c2163ee8e198c4 (diff)
downloadnautilus-512d508679f037d28ca2ed0c3dc0a02367b5543c.tar.gz
toolbar: Set tooltip for view menu separately from toggle view
The toggle view button and view menu button are part of a AdwSplitButton. They both show a tooltip for "Show grid" / "Show List" since the tooltip is set on the AdwSplitButton. Set the tooltip for the AdwSplitButton as "View options" (for the view menu) and overrid that tooltip for the toggle button using adw_split_button_get_child() Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2327
Diffstat (limited to 'src/resources/ui/nautilus-toolbar.ui')
-rw-r--r--src/resources/ui/nautilus-toolbar.ui2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/ui/nautilus-toolbar.ui b/src/resources/ui/nautilus-toolbar.ui
index b2b5632dc..6d4a92670 100644
--- a/src/resources/ui/nautilus-toolbar.ui
+++ b/src/resources/ui/nautilus-toolbar.ui
@@ -229,7 +229,7 @@
<object class="AdwSplitButton" id="view_split_button">
<property name="halign">center</property>
<property name="valign">center</property>
- <property name="tooltip_text" translatable="yes">Toggle view</property>
+ <property name="tooltip_text" translatable="yes">View options</property>
<property name="action_name">slot.files-view-mode-toggle</property>
<property name="menu-model">view_menu</property>
<child>