diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-28 20:00:11 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-28 20:00:11 -0400 |
| commit | a4574d582868d3e9f9c7a0dbe1545c190f30ebaf (patch) | |
| tree | 6064671c334fd37479ba53f4dbf480b063153e81 | |
| parent | eb2523bc1e83dfd9f5d0748b4d4f466d5197a406 (diff) | |
And resolved Group boldness on GTK+ TODO.
| -rw-r--r-- | redo/group_unix.go | 3 |
1 files changed, 2 insertions, 1 deletions
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) |
