gnome-shell/js
Carlos Garnacho 3db52155dd appDisplay: Reduce g_app_info_get_all() calls
Whenever the AllView needs (re)populating, we used to do one general
g_app_info_get_all() to get all GAppInfo, plus one per app folder in order
to check the ones that fall within that category. This calls results in a
fair amount of I/O blocking the main loop.

In order to ease this, keep the GAppInfo list around in AllView, and make
the AppFolders use it when figuring out the contained apps. Since reloading
the AllView results in AppFolders regenerated from scratch, the app info
list is ensured to be up-to-date for any later change within the AppFolder
(eg. through the GSettings key changing).

As the list was already filtered in the first place, we can also remove
the try{}catch() in AppFolder in order to discard desktop files with
invalid encoding.

Related: https://gitlab.gnome.org/GNOME/gnome-shell/issues/832
2019-01-26 16:40:48 +01:00
..
extensionPrefs cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
gdm cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
misc cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
perf scripting: Fix argument list of createTestWindow() 2018-04-25 23:47:06 +02:00
portalHelper cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
ui appDisplay: Reduce g_app_info_get_all() calls 2019-01-26 16:40:48 +01:00
js-resources.gresource.xml Add app introspection API 2019-01-09 10:13:45 +01:00
meson.build build: Use dedicated resources for helper programs 2018-08-14 17:28:04 +00:00
portal-resources.gresource.xml build: Include params.js in portal-helper gresources 2018-10-23 15:38:31 +00:00
prefs-resources.gresource.xml build: Use dedicated resources for helper programs 2018-08-14 17:28:04 +00:00