diff options
author | sunflowerskater <sunflowerskater@tutanota.com> | 2023-02-11 14:59:19 -0300 |
---|---|---|
committer | Corey Berla <corey@berla.me> | 2023-05-09 21:41:04 +0000 |
commit | 8deab005c20eec262d6396049568fc47cccf28a9 (patch) | |
tree | 9a4bdc2cefe04ebd1441ebca8ba17b627a39e2ab /src/nautilus-query-editor.c | |
parent | 44faea2b67fc7bb34d5438050ff537a4899b3cfd (diff) | |
download | nautilus-8deab005c20eec262d6396049568fc47cccf28a9.tar.gz |
general: Add missing tooltips to some buttons
Acc. HIG, all controls from headerbars must have a tooltip.
https://developer.gnome.org/hig/patterns/feedback/tooltips.html
Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2754
Diffstat (limited to 'src/nautilus-query-editor.c')
-rw-r--r-- | src/nautilus-query-editor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nautilus-query-editor.c b/src/nautilus-query-editor.c index 7de9dddd6..67afcc9ce 100644 --- a/src/nautilus-query-editor.c +++ b/src/nautilus-query-editor.c @@ -657,6 +657,7 @@ nautilus_query_editor_init (NautilusQueryEditor *editor) /* setup the filter menu button */ editor->dropdown_button = gtk_menu_button_new (); gtk_menu_button_set_icon_name (GTK_MENU_BUTTON (editor->dropdown_button), "funnel-symbolic"); + gtk_widget_set_tooltip_text (GTK_WIDGET (editor->dropdown_button), _("Filter Search Results")); gtk_menu_button_set_popover (GTK_MENU_BUTTON (editor->dropdown_button), editor->popover); gtk_widget_set_parent (editor->dropdown_button, GTK_WIDGET (editor)); gtk_widget_add_css_class (editor->dropdown_button, "circular"); |