summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorValentin Villenave <[email protected]>2021-10-26 19:29:01 +0200
committerraveit65 <[email protected]>2021-11-20 17:14:49 +0100
commit0c38b79c9556e475652d37556f0b2ffd73e0a4e4 (patch)
tree0190004fb37af8f0a1e1cbd7ea5f773f93ea1e02 /shell
parent706b21d5cfda91dcc7a55d3f5d01d0a56d44eb35 (diff)
downloadatril-0c38b79c9556e475652d37556f0b2ffd73e0a4e4.tar.bz2
atril-0c38b79c9556e475652d37556f0b2ffd73e0a4e4.tar.xz
Accessibility: add button description
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-sidebar.c3
1 files changed, 3 insertions, 0 deletions
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 <string.h>
+#include <glib.h>
+#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
@@ -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);