From a4574d582868d3e9f9c7a0dbe1545c190f30ebaf Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 28 Aug 2014 20:00:11 -0400 Subject: [PATCH] And resolved Group boldness on GTK+ TODO. --- redo/group_unix.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/redo/group_unix.go b/redo/group_unix.go index ad3bef0..ceaa59c 100644 --- a/redo/group_unix.go +++ b/redo/group_unix.go @@ -38,7 +38,8 @@ func newGroup(text string, control Control) Group { C.gtk_frame_set_label_align(g.frame, 0, yalign) C.gtk_frame_set_shadow_type(g.frame, C.GTK_SHADOW_NONE) label := (*C.GtkLabel)(unsafe.Pointer(C.gtk_frame_get_label_widget(g.frame))) - // TODO confirm this boldness level against Glade + // this is the boldness level used by GtkPrintUnixDialog + // (it technically uses "bold" but see pango's pango-enum-types.c for the name conversion; GType is weird) bold := C.pango_attr_weight_new(C.PANGO_WEIGHT_BOLD) boldlist := C.pango_attr_list_new() C.pango_attr_list_insert(boldlist, bold)