mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +01:00
Add support for expanding the desktop entry spec variables %U (list of
2007-01-02 Emmanuele Bassi <ebassi@gnome.org> * glib/gbookmarkfile.c (expand_exec_line): Add support for expanding the desktop entry spec variables %U (list of URIs) and %F (list of filenames), so that using the command line from the Exec and TryExec key of a desktop entry file works as intended. svn path=/trunk/; revision=5196
This commit is contained in:
parent
7eab26d13b
commit
029d43222f
@ -1,3 +1,11 @@
|
||||
2007-01-02 Emmanuele Bassi <ebassi@gnome.org>
|
||||
|
||||
* glib/gbookmarkfile.c (expand_exec_line): Add support for
|
||||
expanding the desktop entry spec variables %U (list of URIs)
|
||||
and %F (list of filenames), so that using the command line
|
||||
from the Exec and TryExec key of a desktop entry file works
|
||||
as intended.
|
||||
|
||||
2007-01-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Avoid warnings from running libtool --config.
|
||||
|
@ -3300,9 +3300,11 @@ expand_exec_line (const gchar *exec_fmt,
|
||||
{
|
||||
case '\0':
|
||||
goto out;
|
||||
case 'U':
|
||||
case 'u':
|
||||
g_string_append (exec, uri);
|
||||
break;
|
||||
case 'F':
|
||||
case 'f':
|
||||
{
|
||||
gchar *file = g_filename_from_uri (uri, NULL, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user