gnome-shell/js/ui
Colin Walters cc2d3fd56d Major rework of application data structures and caching
Before, we looked up application data in several ways; the ShellAppSystem
exported just application ids (though it parsed the .desktop files internally),
and we'd create a Gio.DesktopAppInfo object (reparsing the desktop file again),
wrapping that inside a JavaScript AppInfo class, and finally the AppDisplay
would again parse the .desktop file to get the categories.

Also, to look up applications by id previously, we traversed the entire
menu structure each time.

Some qualities such as the NoDisplay flag were not easily exposed in the old
system.  And if we wanted to expose them we'd have to change several different
application information wrapper classes.

All in all, it was quite suboptimal.

The theme of this new code is basically "just use libgnome-menus".  We do
not call into Gio for app lookups anymore.  The new Shell.AppInfo class
is a disguised pointer for the GMenuTreeEntry item.

To fix the caching, we keep a simple hash table of desktop id -> ShellAppInfo.
2009-07-08 11:33:47 -04:00
..
altTab.js Make Alt-Tab highlight iconified items (in the tasklist) too 2009-06-01 11:10:46 -04:00
appDisplay.js Major rework of application data structures and caching 2009-07-08 11:33:47 -04:00
button.js Use a fading icon button in genericDisplay 2009-07-05 10:40:50 +02:00
chrome.js Fix Chrome.removeActor() 2009-07-06 11:55:17 -04:00
dnd.js Port gnome-shell to the Clutter-1.0 API 2009-06-08 13:49:53 -04:00
docDisplay.js Switch GenericDisplay to ShellOverflowList for dynamic height 2009-07-04 15:30:12 -04:00
genericDisplay.js More for applications now displays a category list 2009-07-06 16:15:12 -04:00
link.js Fix behavior of More... links by adding a Link class 2009-02-26 18:07:25 -05:00
main.js Animate panel appearance on startup 2009-07-02 01:04:40 -04:00
Makefile.am Bug 582248 - Async loading of pixbufs and icon caching 2009-05-20 11:22:56 -04:00
overlay.js Fix DND to left side of the screen 2009-07-07 10:58:49 +01:00
panel.js Animate panel appearance on startup 2009-07-02 01:04:40 -04:00
runDialog.js Port to Clutter-0.9 2009-02-23 14:53:06 -05:00
sidebar.js Add GConf schemas for sidebar prefs, and use those prefs from sidebar.js 2009-07-06 11:55:17 -04:00
tweener.js Port gnome-shell to the Clutter-1.0 API 2009-06-08 13:49:53 -04:00
widget.js Major rework of application data structures and caching 2009-07-08 11:33:47 -04:00
widgetBox.js Fixes to allow widgets to be initially collapsed 2009-07-06 11:55:16 -04:00
windowManager.js Make switch-workspace faster (the same as the other wm ops) 2009-05-13 15:24:32 -04:00
workspaces.js Make workspaces accept a drop of AppDisplay.WellDisplayItem 2009-06-30 16:42:00 -04:00