@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.
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.