apps: Uniquify application instances explicitly by id
Commit 0af10821 introduced a regression where applications that appear in multiple categories were duplicated in the "All Apps" list, because we switched from uniquifying on desktop file ID to the GMenuTreeEntry. Switch back to keeping the set of apps based on ID. To flesh this out, we keep the ShellApp instance for a given ID around forever, and when we're loading new contents, we replace the GMenuTreeEntry inside the app. That means callers still get new data. We still keep around the running app list, though we could just recompute it from the app list now. https://bugzilla.gnome.org/show_bug.cgi?id=659351
parent
e5e1b52a
Please register or sign in to comment