[gtk/wip/jimmac/HC-italic-hints] fontchooser: Add a tooltip to the tweak button
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/jimmac/HC-italic-hints] fontchooser: Add a tooltip to the tweak button
- Date: Mon, 29 Aug 2022 16:15:24 +0000 (UTC)
commit 018bd0a927e7e2d2a7c3dd0c8d1866652990b1b8
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Aug 29 12:13:32 2022 -0400
fontchooser: Add a tooltip to the tweak button
Icon-only buttons are always better with a tooltip.
gtk/gtkfontchooserdialog.c | 1 +
1 file changed, 1 insertion(+)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]