GNOME Bugzilla – Bug 709326
GDesktopAppInfo crashes creating a DBusActivatable app without a filename
Last modified: 2013-10-22 14:18:10 UTC
If you create a GDesktopAppInfo without a filename, and make it have the DBusActivatable=true flag, then you get a crash, because the loading code relies on the filename unconditionally. This could happen through new_from_keyfile(), or from the desktop file index Ryan is working on.
Created attachment 256390 [details] [review] appinfo: Don't try DBusActivatable with load_from_keyfile We can't get the name of the filename, so we can't determine the application ID. We'll have to fallback on Exec= for this case.
Review of attachment 256390 [details] [review]: Looks right.
Attachment 256390 [details] pushed as e0ffd5c - appinfo: Don't try DBusActivatable with load_from_keyfile
*** Bug 710521 has been marked as a duplicate of this bug. ***