fontchooser: Add a tooltip to the tweak button
authorMatthias Clasen <mclasen@redhat.com>
Mon, 29 Aug 2022 16:13:32 +0000 (12:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 29 Aug 2022 16:13:32 +0000 (12:13 -0400)
Icon-only buttons are always better with a tooltip.

gtk/gtkfontchooserdialog.c

index 5aeddd20c48538560fa8cc322b46ca0a9f1bd795..44ea27b526e2812c2bee75c904162694f67916c4 100644 (file)
@@ -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);