Keyboard Shortcut: duplicate shortcut message does not appear generating a Gtk warning
When defining a new shortcut, and this shortcut combination has already been defined, the duplicate shortcut message does not appear, generating a Gtk warning.
Terminal message:
Gtk[154896]: WARNING: Failed to set text '<b>Ctrl+Alt+A está sendo usado para test. Se você substituí-lo, test será desabilitada' from markup due to error parsing markup: Erro na linha 1 caractere 107: Elemento “markup” foi fechado, mas o elemento atualmente aberto é “b”
Affected version: gnome-control-center main
Observation: if we add spaces in <b> %s </b>
[1], the message is displayed normally.
[1]:
/* TRANSLATORS: Don't translate/transliterate <b>%s</b>, which is the accelerator used */ collision_text = g_markup_printf_escaped (_("<b>%s</b> is already being used for %s. If you " "replace it, %s will be disabled"), friendly_accelerator, cc_keyboard_item_get_description (collision_item), cc_keyboard_item_get_description (collision_item));