From: Matthias Clasen Date: Mon, 29 Aug 2022 16:13:32 +0000 (-0400) Subject: fontchooser: Add a tooltip to the tweak button X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~20^2~3^2~36^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=018bd0a927e7e2d2a7c3dd0c8d1866652990b1b8;p=gtk4.git fontchooser: Add a tooltip to the tweak button Icon-only buttons are always better with a tooltip. --- diff --git a/gtk/gtkfontchooserdialog.c b/gtk/gtkfontchooserdialog.c index 5aeddd20c4..44ea27b526 100644 --- a/gtk/gtkfontchooserdialog.c +++ b/gtk/gtkfontchooserdialog.c @@ -181,6 +181,7 @@ setup_tweak_button (GtkFontChooserDialog *dialog) gtk_widget_set_focus_on_click (button, FALSE); gtk_widget_set_valign (button, GTK_ALIGN_CENTER); gtk_button_set_icon_name (GTK_BUTTON (button), "emblem-system-symbolic"); + gtk_widget_set_tooltip_text (button, _("Change Font Features")); header = gtk_dialog_get_header_bar (GTK_DIALOG (dialog)); gtk_header_bar_pack_end (GTK_HEADER_BAR (header), button);