Quota in statusbar: Text shadow caused statusbar height to change, so remove.

Bug 360591, patch=tuukka.tolvanen + me, r=bienvenu, sr+a=mscott
This commit is contained in:
mozilla.BenB%bucksch.org 2007-01-16 00:30:39 +00:00
parent d4a5017c65
commit 0f89c31418
4 changed files with 0 additions and 19 deletions

View File

@ -503,7 +503,6 @@ function UpdateStatusQuota(folder)
gQuotaUICache.meter = document.getElementById("quotaMeter");
gQuotaUICache.panel = document.getElementById("quotaPanel");
gQuotaUICache.label = document.getElementById("quotaLabel");
gQuotaUICache.labelShadow = document.getElementById("quotaLabelShadow");
const kBranch = "mail.quota.mainwindow_threshold.";
gQuotaUICache.showTreshold = gPrefBranch.getIntPref(kBranch + "show");
gQuotaUICache.warningTreshold = gPrefBranch.getIntPref(kBranch + "warning");
@ -534,7 +533,6 @@ function UpdateStatusQuota(folder)
var tooltip = gMessengerBundle.getFormattedString("quotaTooltip",
[used.value, max.value]);
gQuotaUICache.label.value = label;
gQuotaUICache.labelShadow.value = label;
gQuotaUICache.label.tooltipText = tooltip;
if (percent < gQuotaUICache.warningTreshold)
gQuotaUICache.panel.removeAttribute("alert");

View File

@ -2222,7 +2222,6 @@
id="quotaMeter"
mode="normal"
value="0" />
<label id="quotaLabelShadow" />
<label id="quotaLabel"
onclick="MsgFolderProperties('QuotaTab');" />
</stack>

View File

@ -418,13 +418,5 @@ splitter {
-moz-appearance: none;
}
#quotaLabel {
padding-right: 1px;
padding-bottom: 1px;
text-align: center;
}
#quotaLabelShadow {
padding-left: 1px;
padding-top: 1px;
text-align: center;
color: white;
}

View File

@ -340,16 +340,8 @@ treechildren::-moz-tree-image(subjectCol, imapdeleted) {
-moz-appearance: none;
}
#quotaLabel {
padding-right: 1px;
padding-bottom: 1px;
text-align: center;
}
#quotaLabelShadow {
padding-left: 1px;
padding-top: 1px;
text-align: center;
color: white;
}
/* ..... update notifications ..... */