Adds the application with
exec to the list of applications that have registered a bookmark for
Every bookmark inside a BookmarkFile must have at least an application registered. Each application must provide a name, a command line useful for launching the bookmark, the number of times the bookmark has been registered by the application and the last time the application registered this bookmark.
name is null, the name of the application will be the same returned by
null, the command line will be a composition of the program name as returned by
get_prgname and the "%u" modifier, which will be expanded to the
This function will automatically take care of updating the registrations count and timestamping in case an application with the same
had already registered a bookmark for
uri inside this.
If no bookmark for
uri is found, one is created.
a valid URI
the name of the application registering the bookmark or null
command line to be used to launch the bookmark or null