From f3a6fae90cef9b04f423faecfe3e522bc699a83b Mon Sep 17 00:00:00 2001 From: David Ascher Date: Fri, 4 Sep 2009 10:05:02 -0700 Subject: [PATCH] imported patch quicksearch_sizing --HG-- branch : gloda-facet --- mail/base/content/extraCustomizeItems.xul | 6 ++++-- mail/base/content/search.xml | 17 ++++++++++------- mailnews/db/gloda/content/glodacomplete.css | 1 - 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/mail/base/content/extraCustomizeItems.xul b/mail/base/content/extraCustomizeItems.xul index 4f5dca4d1e..462e7e0e59 100644 --- a/mail/base/content/extraCustomizeItems.xul +++ b/mail/base/content/extraCustomizeItems.xul @@ -59,12 +59,14 @@ - - + let tabmail = document.getElementById('tabmail'); + if (tabmail) { /* if not in the customize toolbar */ + let currentTabInfo = tabmail.currentTabInfo; + this.menupopup.getElementsByAttribute('value', this.searchMode)[0].setAttribute('checked', 'true'); + if (currentTabInfo) + currentTabInfo.searchState = this.state; + this.updateEmptyText(); + }"/> diff --git a/mailnews/db/gloda/content/glodacomplete.css b/mailnews/db/gloda/content/glodacomplete.css index d0b7fffa05..25d17fd50d 100644 --- a/mailnews/db/gloda/content/glodacomplete.css +++ b/mailnews/db/gloda/content/glodacomplete.css @@ -1,6 +1,5 @@ textbox[type="glodacomplete"] { -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete"); - width: 400px; } panel[type="glodacomplete-richlistbox"] {