summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Villenave <[email protected]>2021-10-26 19:29:01 +0200
committerraveit65 <[email protected]>2021-11-20 17:17:44 +0100
commit9a981607b36488ea5d2ce8646540b1545e35ecd5 (patch)
treee4c1b6703ecc93bc8f39634ec40fe0f197d10f0e
parent9e5f1dd9e1807737958fd0ec8ecea5df14108b0a (diff)
downloadatril-9a981607b36488ea5d2ce8646540b1545e35ecd5.tar.bz2
atril-9a981607b36488ea5d2ce8646540b1545e35ecd5.tar.xz
Accessibility: add button description
-rw-r--r--po/POTFILES.in1
-rw-r--r--shell/ev-sidebar.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 02b9435c..08ab5ec5 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -67,6 +67,7 @@ shell/ev-password-view.c
shell/ev-properties-dialog.c
shell/ev-properties-fonts.c
shell/ev-properties-license.c
+shell/ev-sidebar.c
shell/ev-sidebar-annotations.c
shell/ev-sidebar-attachments.c
shell/ev-sidebar-bookmarks.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 <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);