From 0c38b79c9556e475652d37556f0b2ffd73e0a4e4 Mon Sep 17 00:00:00 2001 From: Valentin Villenave Date: Tue, 26 Oct 2021 19:29:01 +0200 Subject: Accessibility: add button description --- shell/ev-sidebar.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shell/ev-sidebar.c') diff --git a/shell/ev-sidebar.c b/shell/ev-sidebar.c index b9173cdd..0cdb6be8 100644 --- a/shell/ev-sidebar.c +++ b/shell/ev-sidebar.c @@ -26,6 +26,8 @@ #include +#include +#include #include #include @@ -362,6 +364,7 @@ ev_sidebar_init (EvSidebar *ev_sidebar) g_signal_connect (close_button, "clicked", G_CALLBACK (ev_sidebar_close_clicked_cb), ev_sidebar); + gtk_widget_set_tooltip_text (close_button, _("Hide sidebar")); image = gtk_image_new_from_icon_name ("window-close", GTK_ICON_SIZE_MENU); -- cgit v1.2.1