After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 311714 - gnome_desktop_item_launch ignores "Path" key
gnome_desktop_item_launch ignores "Path" key
Status: RESOLVED DUPLICATE of bug 320990
Product: gnome-desktop
Classification: Core
Component: libgnome-desktop
2.11.x
Other All
: Normal minor
: ---
Assigned To: Desktop Maintainers
Desktop Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-07-27 11:47 UTC by Christian Neumair
Modified: 2006-01-05 08:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (918 bytes, patch)
2005-07-27 12:09 UTC, Christian Neumair
none Details | Review

Description Christian Neumair 2005-07-27 11:47:37 UTC
gnome_desktop_item_launch doesn't support the "Path" key, which is mentioned in
the desktop entry spec [1]. The solution is probably to use the value of "Path"
in gnome-desktop-item.c:ditem_execute instead of using g_get_home_dir ().

[1]
http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
Comment 1 Christian Neumair 2005-07-27 12:09:58 UTC
Created attachment 49834 [details] [review]
Proposed patch

A quick test revealed that it works fine. The user is still able to override
the "Path" by specifying GNOME_DESKTOP_ITEM_LAUNCH_USE_CURRENT_DIR in the
launch flags.
Comment 2 Mark McLoughlin 2006-01-05 08:55:43 UTC

*** This bug has been marked as a duplicate of 320990 ***