summaryrefslogtreecommitdiff
path: root/src/nautilus-toolbar.c
diff options
context:
space:
mode:
authorsunflowerskater <sunflowerskater@tutanota.com>2023-02-11 14:59:19 -0300
committerCorey Berla <corey@berla.me>2023-05-09 21:41:04 +0000
commit8deab005c20eec262d6396049568fc47cccf28a9 (patch)
tree9a4bdc2cefe04ebd1441ebca8ba17b627a39e2ab /src/nautilus-toolbar.c
parent44faea2b67fc7bb34d5438050ff537a4899b3cfd (diff)
downloadnautilus-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-toolbar.c')
-rw-r--r--src/nautilus-toolbar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c
index 397e9bdfe..90edc104c 100644
--- a/src/nautilus-toolbar.c
+++ b/src/nautilus-toolbar.c
@@ -235,6 +235,7 @@ nautilus_toolbar_constructed (GObject *object)
gtk_box_append (GTK_BOX (self->location_entry_container),
self->location_entry);
self->location_entry_close_button = gtk_button_new_from_icon_name ("window-close-symbolic");
+ gtk_widget_set_tooltip_text (self->location_entry_close_button, _("Cancel"));
gtk_box_append (GTK_BOX (self->location_entry_container),
self->location_entry_close_button);
g_signal_connect (self->location_entry_close_button, "clicked",