gnome-shell:wip/desktop-file-index

Last commit made on 2013-10-02
Get this branch:
git clone -b wip/desktop-file-index https://git.launchpad.net/gnome-shell

Branch merges

Branch information

Name:
wip/desktop-file-index
Repository:
lp:gnome-shell

Recent commits

45797a9... by Jasper St. Pierre

app-system: Add back StartupWMClass matching

While unfortunate that we still have to scan all apps with get_all(),
support for this feature will be short-lived, so hopefully we can drop
it in the future as new apps adapt to the desktop file / app ID
recommendations.

For now, simply scan all desktop IDs.

884b942... by Jasper St. Pierre

app-system: Put back support for the installed-changed signal

Use the new GAppInfoMonitor that Ryan added to glib to know when the
set of apps has changed.

74d3e31... by Jasper St. Pierre

app-system: Lazily create ShellApps for apps we care about

Rather than create all ShellApps up-front, create them lazily. We really
had no reason to do this before as we were scanning GMenu to get all the
apps, but doing this can remove a need for get_all, which is slow and
memory-hungry.

77b5385... by Jasper St. Pierre

appDisplay: Use the desktop file index for app searching

Rather than scanning all apps for searching, use Ryan's new desktop
file index and the glib support APIs for app searching instead of our
own system.

d749d64... by Jasper St. Pierre

appDisplay: Use a proper string key for the app search provider

We were always sort of cheating when we used objects as the search ID.
Since the new desktop file index will return us a list of desktop file
IDs, just use those as IDs instead.

fa8224d... by Jasper St. Pierre

app-system: Remove use of gnome-menus internally

We want to transition to a system in the future where we have a desktop
file cache. As we no longer differentiate categories or similar, it no
longer makes sense to have app visibility based on categories. Thus,
we no longer need to use gnome-menus to list all apps. The potential
issue here is reloading all desktop files when new files are created,
but this can be dealt with individually.

The "All Applications" view still uses gnome-menus.

https://bugzilla.gnome.org/show_bug.cgi?id=698486

f687197... by Jasper St. Pierre

appDisplay: Ignore the NoDisplay flag for directories

This makes us match the native app search.

https://bugzilla.gnome.org/show_bug.cgi?id=698486

28a6aef... by Jasper St. Pierre

app-system: Remove visible_id_to_app

Since appDisplay.js makes its own GMenu tree, it's not necessary
anymore. This does mean that searches will show apps in NoDisplay
categories, but that's an obscure enough edge case not to matter.

https://bugzilla.gnome.org/show_bug.cgi?id=698486

96c2a90... by Jasper St. Pierre

app-system: Remove lookup_app_for_path

It's absurdly silly. Just modify the one place that uses it
to be better.

https://bugzilla.gnome.org/show_bug.cgi?id=698486

63cf46e... by Jasper St. Pierre

app-system: Remove known_vendor_prefixes

This does remove support for legacy prefixed app infos with
subdirs, but since we want to remove support for the menu spec,
let's not even bother.

https://bugzilla.gnome.org/show_bug.cgi?id=698486