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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1393212

Title:
  xfce4-appfinder doesn't handle escaping in desktop file

To manage notifications about this bug go to:
https://bugs.launchpad.net/exo/+bug/1393212/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to