Bug 954454 - Participant tooltips do not appear if tab bar not shown.

This commit is contained in:
Florian Quèze 2011-09-06 21:23:14 +02:00
Родитель 13e2675118
Коммит cd645ddbc5
2 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -39,6 +39,7 @@
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://instantbird/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://instantbird/content/instantbird.css" type="text/css"?>
<?xml-stylesheet href="chrome://instantbird/content/blist.css" type="text/css"?>
<?xml-stylesheet href="chrome://instantbird/content/tabbrowser.css" type="text/css"?>
<?xml-stylesheet href="chrome://instantbird/skin/tabbrowser.css" type="text/css"?>
#ifdef XP_MACOSX
@ -142,6 +143,7 @@
<popupset id="mainPopupSet">
<tooltip id="aHTMLTooltip" onpopupshowing="return FillInHTMLTooltip(document.tooltipNode);"/>
<tooltip id="buddyTooltip" type="buddy"/>
<menupopup id="contentAreaContextMenu"
onpopupshowing="if (event.target != this) return true; gContextMenu = new nsContextMenu(this, window.getBrowser()); return gContextMenu.shouldDisplay;"

Просмотреть файл

@ -64,7 +64,6 @@
<binding id="tabbrowser">
<resources>
<stylesheet src="chrome://instantbird/content/tabbrowser.css"/>
<stylesheet src="chrome://instantbird/content/blist.css"/>
</resources>
<content>
@ -77,14 +76,14 @@
ondrop="this.parentNode.parentNode._onDrop(event);">
<xul:hbox class="tab-drop-indicator" mousethrough="always"/>
</xul:hbox>
<xul:hbox class="tabbrowser-strip" collapsed="true" tooltip="_child" context="_child"
<xul:hbox class="tabbrowser-strip" collapsed="true"
tooltip="buddyTooltip" context="_child"
anonid="strip"
ondragstart="this.parentNode.parentNode._onDragStart(event);"
ondragover="this.parentNode.parentNode._onDragOver(event);"
ondrop="this.parentNode.parentNode._onDrop(event);"
ondragend="this.parentNode.parentNode._onDragEnd(event);"
ondragleave="this.parentNode.parentNode._onDragLeave(event);">
<xul:tooltip id="buddyTooltip" type="buddy"/>
<xul:menupopup anonid="tabContextMenu" onpopupshowing="this.parentNode.parentNode.parentNode.updatePopupMenu(this);">
<xul:menuitem id="context_newTab" label="&newTab.label;" accesskey="&newTab.accesskey;"
xbl:inherits="oncommand=onnewtab"/>