mirror of
https://github.com/davatorium/rofi.git
synced 2025-08-14 22:13:11 -04:00
parent
f876963220
commit
a25a21c65e
2 changed files with 6 additions and 3 deletions
|
@ -156,7 +156,10 @@ gboolean parse_keys_abe ( NkBindings *bindings )
|
|||
const char *const sep = ",";
|
||||
for ( char *entry = strtok_r ( keystr, sep, &sp ); entry != NULL; entry = strtok_r ( NULL, sep, &sp ) ) {
|
||||
if ( !nk_bindings_add_binding ( bindings, b->scope, entry, binding_trigger_action, GUINT_TO_POINTER ( b->id ), NULL, &error ) ) {
|
||||
g_string_append_c ( g_string_append ( error_msg, error->message ), '\n' );
|
||||
char *str = g_markup_printf_escaped ( "Failed to set binding <i>%s</i> for: <i>%s (%s)</i>:\n\t<span size=\"smaller\" style=\"italic\">%s</span>\n",
|
||||
b->binding, b->comment, b->name, error->message );
|
||||
g_string_append ( error_msg, str );
|
||||
g_free ( str );
|
||||
g_clear_error ( &error );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue