Bug 521548 - Remove unused command-button and filter-button bindings. r=mak

This commit is contained in:
Dão Gottwald 2009-10-10 12:14:59 +02:00
Родитель 47b30b251c
Коммит 906a8a6a23
6 изменённых файлов: 3 добавлений и 65 удалений

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

@ -1,15 +1,8 @@
%ifdef PLACES_QUERY_BUILDER
.history-calendar { .history-calendar {
-moz-binding: url("chrome://browser/content/places/places.xml#calendar"); -moz-binding: url("chrome://browser/content/places/places.xml#calendar");
} }
%endif
button.commandButton {
-moz-binding: url("chrome://browser/content/places/places.xml#command-button");
}
.filterList {
-moz-binding: url("chrome://browser/content/places/places.xml#filter-button");
}
#contentTitle { #contentTitle {
width: 0px; width: 0px;

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

@ -3,38 +3,7 @@
<bindings id="placesBindings" <bindings id="placesBindings"
xmlns="http://www.mozilla.org/xbl" xmlns="http://www.mozilla.org/xbl"
xmlns:xbl="http://www.mozilla.org/xbl" xmlns:xbl="http://www.mozilla.org/xbl"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<binding id="command-button" extends="chrome://global/content/bindings/button.xml#button">
<implementation>
<method name="updateActiveView">
<body><![CDATA[
if (this.hasAttribute("view"))
PlacesController.activeView = document.getElementById(this.getAttribute("view"));
]]></body>
</method>
</implementation>
<handlers>
<handler event="click" button="0" action="this.updateActiveView();"/>
<handler event="keypress" keycode="VK_SPACE" action="this.updateActiveView();"/>
</handlers>
</binding>
<binding id="filter-button" extends="chrome://global/content/bindings/button.xml#menu">
<content>
<xul:stack flex="1" class="box-inherit button-box">
<xul:image class="button-icon" xbl:inherits="src=image"/>
<xul:dropmarker class="button-menu-dropmarker" xbl:inherits="open,disabled"/>
</xul:stack>
<children includes="menupopup"/>
</content>
<handlers>
<handler event="command"><![CDATA[
PlacesSearchBox.filterCollection = event.target.getAttribute("value");
]]></handler>
</handlers>
</binding>
#ifdef PLACES_QUERY_BUILDER #ifdef PLACES_QUERY_BUILDER
<binding id="calendar"> <binding id="calendar">

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

@ -6,7 +6,7 @@ browser.jar:
* content/browser/places/places.js (content/places.js) * content/browser/places/places.js (content/places.js)
* content/browser/places/places.xml (content/places.xml) * content/browser/places/places.xml (content/places.xml)
content/browser/places/places.css (content/places.css) content/browser/places/places.css (content/places.css)
content/browser/places/organizer.css (content/organizer.css) * content/browser/places/organizer.css (content/organizer.css)
* content/browser/places/bookmarkProperties.xul (content/bookmarkProperties.xul) * content/browser/places/bookmarkProperties.xul (content/bookmarkProperties.xul)
* content/browser/places/bookmarkProperties.js (content/bookmarkProperties.js) * content/browser/places/bookmarkProperties.js (content/bookmarkProperties.js)
* content/browser/places/placesOverlay.xul (content/placesOverlay.xul) * content/browser/places/placesOverlay.xul (content/placesOverlay.xul)

Двоичные данные
browser/themes/pinstripe/browser/Search-bar.png

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 251 B

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

@ -43,7 +43,6 @@ browser.jar:
skin/classic/browser/searchbar.css skin/classic/browser/searchbar.css
skin/classic/browser/Search.png skin/classic/browser/Search.png
skin/classic/browser/Search-addengines.png skin/classic/browser/Search-addengines.png
skin/classic/browser/Search-bar.png
skin/classic/browser/section_collapsed.png skin/classic/browser/section_collapsed.png
skin/classic/browser/section_expanded.png skin/classic/browser/section_expanded.png
skin/classic/browser/Secure-Glyph-White.png skin/classic/browser/Secure-Glyph-White.png

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

@ -256,29 +256,6 @@ window:not([active="true"]) #placesList > treechildren::-moz-tree-row(selected)
border: 0px; border: 0px;
} }
.filterList {
-moz-appearance: none;
background-color: transparent;
border: 0px;
margin: 2px;
padding: 0px;
min-width: 0px;
width: 16px;
height: 16px;
list-style-image: url("chrome://browser/skin/Search-bar.png");
-moz-user-focus: ignore;
cursor: default;
}
.filterList .button-box {
border: 0px;
padding: 0px;
}
.filterList .button-menu-dropmarker {
margin: 9px -3px -4px 8px;
}
/* Scope Bar */ /* Scope Bar */
#advancedSearch > hbox, #advancedSearch > hbox,