gnome-shell/js/ui
Colin Walters 10dcc100e9 Kill off ShellAppInfo, move into ShellApp
This dramatically thins down and sanitizes the application code.

The ShellAppSystem changes in a number of ways:
* Preferences are special cased more explicitly; they aren't apps,
  they're shortcuts for an app), and we don't have many of them, so
  don't need e.g. the optimizations in ShellAppSystem for searching.
* get_app() changes to lookup_app() and returns null if an app isn't
  found.  The semantics where it tried to find the .desktop file
  if we didn't know about it were just broken; I am pretty sure no
  caller needs this, and if they do we'll fix them.
* ShellAppSystem maintains two indexes on apps (by desktop file id
  and by GMenuTreeEntry), but is no longer in the business of
  dealing with GMenuTree as far as hierarchy and categories go.  That
  is moved up into js/ui/appDisplay.js.  Actually, it flattens both
  apps and settings.

Also, ShellWindowTracker is now the sole reference-owner for
window-backed apps.  We still do the weird "window:0x1234beef" id
for these apps, but a reference is not stored in ShellAppSystem.

The js/ui/appDisplay.js code is rewritten, and sucks a lot less.
Variable names are clearer:

_apps -> _appIcons
_filterApp -> _visibleApps
_filters -> _categoryBox

Similarly for function names.  We no longer call (for every app) a
recursive lookup in GMenuTree to see if it's in a particular section
on every category switch; it's all cached.

NOTE - this intentionally reverts the incremental loading code from
commit 7813c5b93f.  It's fast enough
here without that.

https://bugzilla.gnome.org/show_bug.cgi?id=648149
2011-08-10 12:59:32 -04:00
..
status Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
altTab.js altTab: do a step transition instead of fading in 2011-08-03 16:23:35 +01:00
appDisplay.js Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
appFavorites.js Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
automountManager.js screenSaver: bugfixes 2011-07-14 12:51:18 -04:00
autorunManager.js autorun-manager: Fix 'destroy' handler of resident source 2011-07-13 21:43:30 +02:00
boxpointer.js panelMenu: add a gap between the panel and its menus 2011-08-01 11:48:02 -04:00
calendar.js calendar: Improve week start handling 2011-08-10 01:03:26 +02:00
ctrlAltTab.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
dash.js Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
dateMenu.js Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
dnd.js dnd: Reparent drag actor to the uiGroup rather then the stage 2011-06-30 21:13:15 +02:00
docDisplay.js environment: put gettext stuff into global environment 2011-05-16 14:57:21 -04:00
endSessionDialog.js Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
environment.js shell_global_set_property_mutable: Remove 2011-06-20 17:58:40 -04:00
extensionSystem.js extensionSystem: Save extension errors per-extension 2011-08-04 13:40:04 -04:00
iconGrid.js Setting StWidget::label-actor on some ui elements 2011-04-27 02:09:11 +02:00
layout.js layout: Don't create and destroy ripple animations 2011-08-08 14:11:09 -04:00
lightbox.js Clean up unused includes 2010-07-19 01:46:01 +02:00
link.js Clean up unused includes 2010-07-19 01:46:01 +02:00
lookingGlass.js Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
magnifier.js magnifier: Adjust for removal of 'show-magnifier' key 2011-02-17 16:09:07 +01:00
magnifierDBus.js Refactor Magnifier.ZoomRegion to avoid permanent Clutter.Clone 2010-12-03 14:21:57 -05:00
main.js main: Add Main.notify() for simple system messages 2011-08-03 17:19:18 +02:00
messageTray.js layout: make Chrome an implementation detail of LayoutManager 2011-08-03 09:18:30 -04:00
modalDialog.js theme: make modal dialog buttons match the mockups 2011-08-03 11:23:22 +01:00
notificationDaemon.js notificationDaemon: fix syntax error 2011-08-03 15:21:00 -04:00
overview.js Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
panel.js layout: make Chrome an implementation detail of LayoutManager 2011-08-03 09:18:30 -04:00
panelMenu.js layout: make Chrome an implementation detail of LayoutManager 2011-08-03 09:18:30 -04:00
placeDisplay.js Use Shell.get_file_contents_utf8_sync over GLib.file_get_contents 2011-05-19 15:27:23 -04:00
polkitAuthenticationAgent.js environment: put gettext stuff into global environment 2011-05-16 14:57:21 -04:00
popupMenu.js panelMenu: add a gap between the panel and its menus 2011-08-01 11:48:02 -04:00
runDialog.js runDialog: catch exceptions from Gio.app_info_launch_default_for_uri() 2011-07-20 00:25:11 +01:00
scripting.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
search.js search: Fix documentation comment 2011-05-20 14:19:16 +02:00
searchDisplay.js search-display: Try harder to use a correct drag actor source 2011-06-21 22:23:00 +02:00
shellDBus.js extensionSystem: Save extension errors per-extension 2011-08-04 13:40:04 -04:00
shellMountOperation.js mount-operation: implement ask-password for mounting encrypted volumes 2011-07-13 14:39:36 -04:00
statusIconDispatcher.js statusIconDispatcher: fix trailing comma 2011-03-25 21:24:42 -04:00
statusMenu.js Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
telepathyClient.js Don't save unacked messages 2011-08-04 10:53:48 +02:00
tweener.js tweener: remove tweens when target.actor is destroyed 2011-02-22 12:36:25 -05:00
viewSelector.js viewSelector: Bind <Ctrl>+<Return> for open new window 2011-07-17 00:50:26 +04:00
windowAttentionHandler.js shell-global: add a "display" property 2011-08-03 09:09:55 -04:00
windowManager.js altTab: honor switch_*_backward key binding actions 2011-07-06 08:45:31 -04:00
workspace.js shell-global: add a "display" property 2011-08-03 09:09:55 -04:00
workspacesView.js workspacesView: belatedly remove an unused variable 2011-08-04 13:37:57 -04:00
workspaceSwitcherPopup.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
workspaceThumbnail.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
xdndHandler.js xdndHandler: Correctly disconnect the window group visibility handler 2011-03-04 11:23:18 +01:00