Bug 382794 Fix print preview to work with *stripe themes p=MReimer r+sr=me

git-svn-id: svn://10.0.0.236/trunk@228315 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
neil%parkwaycc.co.uk
2007-06-19 13:57:02 +00:00
parent 2c5ffc5495
commit 686a39b864
4 changed files with 51 additions and 16 deletions

View File

@@ -46,7 +46,7 @@
<binding id="printpreviewtoolbar"
extends="chrome://global/content/bindings/toolbar.xml#toolbar">
<resources>
<stylesheet src="chrome://global/skin/printing.css"/>
<stylesheet src="chrome://global/skin/printPreview.css"/>
</resources>
<content>
@@ -61,7 +61,7 @@
</xul:vbox>
<xul:toolbarbutton class="toolbarbutton-icon home-arrow"
oncommand="parentNode.navigate(0, 0, 'home');" tooltiptext="&homearrow.tooltip;"/>
<xul:toolbarbutton class="toolbarbutton-icon last-arrow"
<xul:toolbarbutton class="toolbarbutton-icon left-arrow"
oncommand="parentNode.navigate(-1, 0, 0);" tooltiptext="&leftarrow.tooltip;"/>
<xul:hbox align="center" pack="center">
<xul:textbox id="pageNumber" size="3" value="1" lastvalid="1"
@@ -69,7 +69,7 @@
<xul:label value="&of.label;"/>
<xul:label value="1"/>
</xul:hbox>
<xul:toolbarbutton class="toolbarbutton-icon next-arrow"
<xul:toolbarbutton class="toolbarbutton-icon right-arrow"
oncommand="parentNode.navigate(1, 0, 0);" tooltiptext="&rightarrow.tooltip;"/>
<xul:toolbarbutton class="toolbarbutton-icon end-arrow"
oncommand="parentNode.navigate(0, 0, 'end');" tooltiptext="&endarrow.tooltip;"/>

View File

@@ -0,0 +1,43 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is the SeaMonkey Page Setup Dialog
*
* The Initial Developer of the Original Code is SeaMonkey team
* Portions created by the Initial Developer are Copyright (C) 2007
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Manuel Reimer <Manuel.Reimer@gmx.de>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
.portrait-page {
list-style-image: url("chrome://global/skin/icons/pg-portrait.gif");
}
.landscape-page {
list-style-image: url("chrome://global/skin/icons/pg-landscape.gif");
}

View File

@@ -21,6 +21,7 @@
* Contributor(s):
* Samir Gehani <sgehani@netscape.com>
* Bill Law <law@netscape.com>
* Manuel Reimer <Manuel.Reimer@gmx.de>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
@@ -48,11 +49,11 @@
list-style-image: url("chrome://global/skin/arrow/arrow-rit-sharp-end.gif");
}
.last-arrow {
.left-arrow {
list-style-image: url("chrome://global/skin/arrow/arrow-lft-sharp.gif");
}
.next-arrow {
.right-arrow {
list-style-image: url("chrome://global/skin/arrow/arrow-rit-sharp.gif");
}
@@ -65,13 +66,3 @@
.toolbar-landscape-page {
list-style-image: url("chrome://global/skin/icons/pg-landscape-small.gif");
}
/* ::::: page setup dialog ::::: */
.portrait-page {
list-style-image: url("chrome://global/skin/icons/pg-portrait.gif");
}
.landscape-page {
list-style-image: url("chrome://global/skin/icons/pg-landscape.gif");
}

View File

@@ -170,7 +170,8 @@ modern.jar:
skin/modern/global/menulist.css (global/menulist.css)
skin/modern/global/numberbox.css (global/numberbox.css)
skin/modern/global/netError.css (global/netError.css)
skin/modern/global/printing.css (global/printing.css)
skin/modern/global/printPreview.css (global/printPreview.css)
skin/modern/global/printPageSetup.css (global/printPageSetup.css)
skin/modern/global/progressmeter.css (global/progressmeter.css)
skin/modern/global/radio.css (global/radio.css)
skin/modern/global/scrollbox.css (global/scrollbox.css)