Bug 1489737: Removing folderSummary-location; r=mkmelin
This commit is contained in:
Родитель
d5c6eaac6d
Коммит
3b738bc822
|
@ -2429,14 +2429,14 @@
|
|||
gFolderTreeView.getLevel(folderIndex) == 0 &&
|
||||
!gFolderTreeView.getServerNameAdded(folderIndex))
|
||||
{
|
||||
let loc = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "folderSummaryLocation");
|
||||
let loc = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "label");
|
||||
let midPath = "";
|
||||
let midFolder = aFolder.parent;
|
||||
while (aFolder.server.rootFolder != midFolder) {
|
||||
midPath = midFolder.name + " - " + midPath;
|
||||
midFolder = midFolder.parent;
|
||||
}
|
||||
loc.setAttribute("location", aFolder.server.prettyName + " - " + midPath + aFolder.name);
|
||||
loc.setAttribute("value", aFolder.server.prettyName + " - " + midPath + aFolder.name);
|
||||
document.getAnonymousNodes(this)[0].appendChild(loc);
|
||||
return true;
|
||||
}
|
||||
|
@ -2447,8 +2447,8 @@
|
|||
((aFolder.server instanceof Ci.nsINntpIncomingServer) &&
|
||||
!(aFolder.flags & Ci.nsMsgFolderFlags.Virtual) &&
|
||||
aFolder.server.abbreviate) && !aFolder.isServer) {
|
||||
let loc = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "folderSummaryLocation");
|
||||
loc.setAttribute("location", aFolder.name);
|
||||
let loc = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "label");
|
||||
loc.setAttribute("value", aFolder.name);
|
||||
document.getAnonymousNodes(this)[0].appendChild(loc);
|
||||
return true;
|
||||
}
|
||||
|
@ -2492,14 +2492,6 @@
|
|||
</implementation>
|
||||
</binding>
|
||||
|
||||
<binding id="folderSummary-location">
|
||||
<content>
|
||||
<xul:hbox>
|
||||
<xul:label anonid="location" xbl:inherits="value=location"/>
|
||||
</xul:hbox>
|
||||
</content>
|
||||
</binding>
|
||||
|
||||
<binding id="folderSummary-message">
|
||||
<content>
|
||||
<xul:vbox class="folderSummaryMessage">
|
||||
|
|
|
@ -148,11 +148,6 @@ folderSummaryMessage
|
|||
-moz-binding: url("chrome://messenger/content/mailWidgets.xml#folderSummary-message");
|
||||
}
|
||||
|
||||
folderSummaryLocation
|
||||
{
|
||||
-moz-binding: url("chrome://messenger/content/mailWidgets.xml#folderSummary-location");
|
||||
}
|
||||
|
||||
tabmail {
|
||||
-moz-binding: url("chrome://messenger/content/tabmail.xml#tabmail");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче