Don't use g_shell_parse_argv for shortcuts (#88).
authorDaniel Carl <danielcarl@gmx.de>
Mon, 9 Jun 2014 12:52:14 +0000 (14:52 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Mon, 9 Jun 2014 12:52:14 +0000 (14:52 +0200)
commit9348ab88370b8f6ba02f07cf2124fcf9eb78c3f5
tree8bd333448394f1f868de436522178c00312c70e7
parent1dcd3d70d4d846a1e6c315d3e419fb7488c0fbba
Don't use g_shell_parse_argv for shortcuts (#88).

This function was really handy, but it does not allow to ignore unmatched
quotes which lead to errors that could not be handled very well for the user.

This patch adds a stripped down to the minimum parser for the shortcut
parameters to allow also unmatched single- or double quotes.
src/shortcut.c
tests/test-shortcut.c