GtkLabel: fix underlining of mnemonics
The underscore was shown in front of the mnemonic instead of underlining it (e.g., _Save). Thanks to Lars Uebernickel. https://bugzilla.gnome.org/show_bug.cgi?id=674759
This commit is contained in:
@ -2570,7 +2570,7 @@ gtk_label_set_markup_internal (GtkLabel *label,
|
||||
/* Extract the text to display */
|
||||
if (!pango_parse_markup (str_for_display,
|
||||
-1,
|
||||
0,
|
||||
with_uline ? '_' : 0,
|
||||
&attrs,
|
||||
&text,
|
||||
NULL,
|
||||
|
Reference in New Issue
Block a user