diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-08-21 11:52:55 -0400 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-08-21 11:52:55 -0400 |
commit | f830771283f088caa2bf923dcb7afa8e06b5632e (patch) | |
tree | b44322b00a1a3f527d0e8b4779dacf818ada29aa /common/content/bindings.xml | |
parent | 5f42595f651cd12ae34bf66fab5dc3f8577c27a1 (diff) | |
download | pentadactyl-f830771283f088caa2bf923dcb7afa8e06b5632e.tar.gz |
Defer some initialization until the first window is visible.
Diffstat (limited to 'common/content/bindings.xml')
-rw-r--r-- | common/content/bindings.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/content/bindings.xml b/common/content/bindings.xml index 800230de..587c7a87 100644 --- a/common/content/bindings.xml +++ b/common/content/bindings.xml @@ -26,6 +26,10 @@ <binding id="tab" display="xul:hbox" extends="chrome://browser/content/tabbrowser.xml#tabbrowser-tab"> + <implementation> + <property name="dactylOrdinal" onget="parseInt(this.getAttribute('dactylOrdinal'))" + onset="this.setAttribute('dactylOrdinal', val)"/> + </implementation> <content closetabtext="Close Tab"> <xul:stack class="tab-icon dactyl-tab-stack"> <xul:image xbl:inherits="validate,src=image" role="presentation" class="tab-icon-image"/> @@ -45,6 +49,10 @@ <binding id="tab-mac" extends="chrome://browser/content/tabbrowser.xml#tabbrowser-tab"> + <implementation> + <property name="dactylOrdinal" onget="parseInt(this.getAttribute('dactylOrdinal'))" + onset="this.setAttribute('dactylOrdinal', val)"/> + </implementation> <content chromedir="ltr" closetabtext="Close Tab"> <xul:hbox class="tab-image-left" xbl:inherits="selected"/> <xul:hbox class="tab-image-middle" flex="1" align="center" xbl:inherits="selected"> |