generalize buffer icons
commit85900ad9ab70f80c900df92bd04487f691b71c9a
authorJohn Foerch <jjfoerch@earthlink.net>
Wed, 29 Dec 2010 21:34:13 +0000 (29 16:34 -0500)
committerJohn Foerch <jjfoerch@earthlink.net>
Wed, 29 Dec 2010 21:34:13 +0000 (29 16:34 -0500)
tree2017d93d1020a5e87c35b34bf9422aa0967ad286
parent4b681efa0825793574255c764187527f2285927d
generalize buffer icons

Let all buffers have an icon, and the favicon module's role is now simply
to set that value when active.  This change allows the consumers of buffer
icons to be decoupled from the favicon module, not need to break abstraction
barriers by being aware of its internal details.

buffer_favicon_change_hook renamed to buffer_icon_change_hook
current_buffer_favicon_change_hook renamed to current_buffer_icon_change_hook
modules/buffer.js
modules/favicon.js
modules/new-tabs.js
modules/tab-bar.js