GNOME Bugzilla – Bug 654040
[PATCH] Respect OnlyShowIn & NotShowIn for properties dialog
Last modified: 2011-08-12 08:32:46 UTC
Created attachment 191356 [details] [review] Proposed patch The properties dialog currently shows .desktop files for other desktops, which could confuse users, thinking they have something set to run on startup when they don't. Here's a patch to look at OnlyShowIn (and TryExec too). It uses the eggdesktopfile function for this to avoid duplicating code, but this means that GspApp now contains an EggDesktopFile object. Which could be used much more widely in GspApp if we liked, to duplication even further. But this patch here is more targeted, just caring about whether we can launch the app in question.
I reworked the patch to not use EggDesktopFile, it's in.