[gtk/matthiasc/for-master: 3/6] fontchooser: Make sure the tweak button is updated
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 3/6] fontchooser: Make sure the tweak button is updated
- Date: Sun, 20 Sep 2020 16:06:05 +0000 (UTC)
commit ee75bae8f8fa70a7ee6650403f4c3929f0358afa
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Sep 20 10:55:54 2020 -0400
fontchooser: Make sure the tweak button is updated
This was showing up as tweak buttons being visible
when they should not. The code probably relied on
widgets being hidden by default (as they were in
GTK3).
gtk/gtkfontchooserdialog.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkfontchooserdialog.c b/gtk/gtkfontchooserdialog.c
index 6181db6836..5c38db7fa8 100644
--- a/gtk/gtkfontchooserdialog.c
+++ b/gtk/gtkfontchooserdialog.c
@@ -183,6 +183,8 @@ setup_tweak_button (GtkFontChooserDialog *dialog)
gtk_header_bar_pack_end (GTK_HEADER_BAR (header), button);
dialog->tweak_button = button;
+
+ update_tweak_button (dialog);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]