projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
975ab6e
)
fontchooser: Add a tooltip to the tweak button
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 29 Aug 2022 16:13:32 +0000
(12:13 -0400)
committer
Matthias 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
patch
|
blob
|
history
diff --git
a/gtk/gtkfontchooserdialog.c
b/gtk/gtkfontchooserdialog.c
index 5aeddd20c48538560fa8cc322b46ca0a9f1bd795..44ea27b526e2812c2bee75c904162694f67916c4 100644
(file)
--- 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);