GNOME Bugzilla – Bug 732437
gpk-log: improve Application column results
Last modified: 2014-06-30 16:50:05 UTC
Everything in the Application column of gpk-log is blank. This patch doesn't fix that, but should help a little.
Created attachment 279548 [details] [review] gpk-log: improve Application column results * Update some of the user-friendly display names * Add GNOME Software * Look for substrings, not exact matches. In particular, matching on /usr/libexec is mean since that only exists in Red Hat distros.
Review of attachment 279548 [details] [review]: Looks fine, thanks. I'd prefer g_strstr_len but that's probably the same thing as strstr under the covers anyway.
Well we know the string is null-terminated, but we don't know its length, so besides setting an arbitrary max like 512 I'm not sure why we'd want g_strstr_len?
Attachment 279548 [details] pushed as 75d4007 - gpk-log: improve Application column results