Comment 5 for bug 1393212

Revision history for this message
In , Andreldm-2 (andreldm-2) wrote :

Created attachment 8240
escape.diff

@bluesabre, the attached unescapes the \s sequence, but I'm not sure this is the best approach (it does not handle \n, \t, \r, and \\). I also tried g_strcompress but it didn't work as I expected.

xfce_appfinder_model_execute is similar to garcon_gtk_menu_item_activate_real, but the latter also does not deal with escaped sequences.

So I think garcon could provide the something like garcon_menu_item_get_escaped_command so both functions would benefit.