NOT PART OF THE BUILD
Complete cleanup for xulrunner-based Mozilla Composer with chrome rewritten from scratch to get rid of bloat and old dependencies to mozilla/xpfe git-svn-id: svn://10.0.0.236/trunk@193680 18797224-902f-48f8-a5cc-f745e15eee43
@@ -42,6 +42,6 @@ VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
DIRS = app base
|
||||
DIRS = base
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
@@ -1,174 +0,0 @@
|
||||
# ***** 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 mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is
|
||||
# Netscape Communications.
|
||||
# Portions created by the Initial Developer are Copyright (C) 2002
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
# Brian Ryner <bryner@brianryner.com>
|
||||
# Daniel Glazman (daniel@glazman.org), on behalf of Lindows.com
|
||||
#
|
||||
# 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 *****
|
||||
|
||||
DEPTH = ../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
DIRS = profile
|
||||
|
||||
PREF_JS_EXPORTS = \
|
||||
$(srcdir)/profile/all.js \
|
||||
$(srcdir)/profile/editor.js \
|
||||
$(NULL)
|
||||
|
||||
ifeq ($(USE_SHORT_LIBNAME), 1)
|
||||
PROGRAM = composer$(BIN_SUFFIX)
|
||||
else
|
||||
PROGRAM = composer-bin$(BIN_SUFFIX)
|
||||
endif
|
||||
|
||||
REQUIRES = \
|
||||
string \
|
||||
xpcom \
|
||||
xulapp \
|
||||
xpinstall \
|
||||
appshell \
|
||||
$(NULL)
|
||||
|
||||
CPPSRCS = nsComposerApp.cpp
|
||||
|
||||
# This code removes the console from release builds
|
||||
# (unless you've set MOZ_WINCONSOLE=1).
|
||||
|
||||
ifndef MOZ_WINCONSOLE
|
||||
ifdef MOZ_DEBUG
|
||||
MOZ_WINCONSOLE = 1
|
||||
else
|
||||
MOZ_WINCONSOLE = 0
|
||||
endif
|
||||
endif
|
||||
|
||||
LIBS = \
|
||||
$(DIST)/lib/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX) \
|
||||
$(MOZ_JS_LIBS) \
|
||||
$(MOZ_COMPONENT_LIBS) \
|
||||
$(TK_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
# Add explicit X11 dependency when building against X11 toolkits
|
||||
ifneq (,$(filter gtk gtk2 xlib,$(MOZ_WIDGET_TOOLKIT)))
|
||||
LIBS += $(XLDFLAGS) $(XLIBS)
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
|
||||
## HACK ALERT...I can't seem to get the console to go away in optimized builds
|
||||
## the MOZWINCONSOLE lines above are doing anything...for now, force the right
|
||||
## subsytem
|
||||
|
||||
ifndef MOZ_DEBUG
|
||||
WIN32_EXE_LDFLAGS += /SUBSYSTEM:WINDOWS
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
OS_LIBS += $(call EXPAND_LIBNAME,comctl32 comdlg32 uuid shell32 ole32 oleaut32 version winspool gdi32)
|
||||
RCINCLUDE = splash.rc
|
||||
ifndef GNU_CC
|
||||
RCFLAGS += -DMOZ_STANDALONE_COMPOSER -I$(srcdir)
|
||||
else
|
||||
RCFLAGS += -DMOZ_STANDALONE_COMPOSER --include-dir $(srcdir)
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
$(PROGRAM): $(DIST)/lib/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX)
|
||||
|
||||
DESKTOP_ICONS := \
|
||||
editorWindow.xpm \
|
||||
editorWindow16.xpm \
|
||||
$(NULL)
|
||||
|
||||
libs:: $(DESKTOP_ICONS)
|
||||
$(INSTALL) $^ $(DIST)/bin/chrome/icons/default
|
||||
|
||||
install:: $(DESKTOP_ICONS)
|
||||
$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/chrome/icons/default
|
||||
|
||||
ifneq (,$(filter-out OS2 WINNT Darwin,$(OS_ARCH)))
|
||||
composer:: mozilla.in Makefile.in Makefile $(DEPTH)/config/autoconf.mk
|
||||
cat $< | sed -e "s|%MOZAPPDIR%|$(mozappdir)|" \
|
||||
-e "s|%MREDIR%|$(mredir)|" \
|
||||
-e "s|mozilla-bin|$(PROGRAM)|g" > $@
|
||||
chmod +x $@
|
||||
|
||||
libs:: composer
|
||||
$(INSTALL) $< $(DIST)/bin
|
||||
|
||||
install:: composer
|
||||
$(SYSINSTALL) $< $(DESTDIR)$(bindir)
|
||||
|
||||
GARBAGE += composer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter gtk gtk2,$(MOZ_WIDGET_TOOLKIT)))
|
||||
ICON_FILES = \
|
||||
$(srcdir)/mozicon50.xpm \
|
||||
$(srcdir)/mozicon16.xpm \
|
||||
$(NULL)
|
||||
|
||||
libs::
|
||||
$(INSTALL) $(ICON_FILES) $(DIST)/bin/icons
|
||||
|
||||
install::
|
||||
$(SYSINSTALL) $(IFLAGS1) $(ICON_FILES) $(DESTDIR)$(mozappdir)/icons
|
||||
endif
|
||||
|
||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
||||
|
||||
ifdef MOZ_DEBUG
|
||||
APP_NAME = ComposerDebug
|
||||
else
|
||||
APP_NAME = Composer
|
||||
endif
|
||||
|
||||
libs:: $(PROGRAM)
|
||||
mkdir -p $(DIST)/$(APP_NAME).app/Contents/MacOS
|
||||
rsync -a $(srcdir)/macbuild/Contents $(DIST)/$(APP_NAME).app
|
||||
rsync -aL $(DIST)/bin/ $(DIST)/$(APP_NAME).app/Contents/MacOS
|
||||
cp -RL $(srcdir)/macbuild/mach.icns $(DIST)/$(APP_NAME).app/Contents/Resources/mach.icns
|
||||
echo -n APPLMOZZ > $(DIST)/$(APP_NAME).app/Contents/PkgInfo
|
||||
|
||||
clean clobber::
|
||||
rm -rf $(DIST)/$(APP_NAME).app
|
||||
endif
|
||||
@@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<assemblyIdentity
|
||||
version="1.0.0.0"
|
||||
processorArchitecture="X86"
|
||||
name="Microsoft.Winweb.MantaRay"
|
||||
type="win32"
|
||||
/>
|
||||
<description>.NET control deployment tool</description>
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity
|
||||
type="win32"
|
||||
name="Microsoft.Windows.Common-Controls"
|
||||
version="6.0.0.0"
|
||||
processorArchitecture="X86"
|
||||
publicKeyToken="6595b64144ccf1df"
|
||||
language="*"
|
||||
/>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
</assembly>
|
||||
|
Before Width: | Height: | Size: 3.6 KiB |
@@ -1,232 +0,0 @@
|
||||
/* XPM */
|
||||
static char *pixmap[] = {
|
||||
/* width height ncols cpp */
|
||||
"32 32 194 2",
|
||||
/* Colors */
|
||||
"00 c #FFFFFF",
|
||||
"01 c #EFF2F4",
|
||||
"02 c #EAEDF1",
|
||||
"03 c #E4E9EE",
|
||||
"04 c #DCE2E9",
|
||||
"05 c #D3DCE4",
|
||||
"06 c #C9D6E1",
|
||||
"07 c #CDD7DF",
|
||||
"08 c #C3CED9",
|
||||
"09 c #C0C0C0",
|
||||
"0A c #BEE0E0",
|
||||
"0B c #ACCAE0",
|
||||
"0C c #A4C6E0",
|
||||
"0D c #99C4F1",
|
||||
"0E c #BAC9D8",
|
||||
"0F c #B4C5D4",
|
||||
"10 c #A6C5D4",
|
||||
"11 c #B2C1CF",
|
||||
"12 c #95C2D4",
|
||||
"13 c #A4BED0",
|
||||
"14 c #ABBDCD",
|
||||
"15 c #A3B5C6",
|
||||
"16 c #92B1D0",
|
||||
"17 c #8CB8D4",
|
||||
"18 c #8BB3D4",
|
||||
"19 c #84B1D4",
|
||||
"1A c #8AAED4",
|
||||
"1B c #83ABD2",
|
||||
"1C c #9AB2C9",
|
||||
"1D c #9BADC0",
|
||||
"1E c #83A6CA",
|
||||
"1F c #8CA7C1",
|
||||
"20 c #83A2C1",
|
||||
"21 c #A5A7A8",
|
||||
"22 c #96A9BC",
|
||||
"23 c #859FBA",
|
||||
"24 c #889EB4",
|
||||
"25 c #839BB2",
|
||||
"26 c #8097B0",
|
||||
"27 c #8394A7",
|
||||
"28 c #898584",
|
||||
"29 c #7FAAD2",
|
||||
"2A c #79A4CB",
|
||||
"2B c #7EA1C5",
|
||||
"2C c #7A9DC1",
|
||||
"2D c #729BC1",
|
||||
"2E c #729ABF",
|
||||
"2F c #7297BB",
|
||||
"30 c #7092B6",
|
||||
"31 c #6C93BB",
|
||||
"32 c #6C91B6",
|
||||
"33 c #6B8EB3",
|
||||
"34 c #678EB2",
|
||||
"35 c #7D94AC",
|
||||
"36 c #718EAD",
|
||||
"37 c #718AA3",
|
||||
"38 c #6B8AAB",
|
||||
"39 c #6589AD",
|
||||
"3A c #6186A9",
|
||||
"3B c #6E8BA5",
|
||||
"3C c #6984A1",
|
||||
"3D c #6184A6",
|
||||
"3E c #5E82A4",
|
||||
"3F c #778696",
|
||||
"40 c #6D839B",
|
||||
"41 c #62819E",
|
||||
"42 c #627F9B",
|
||||
"43 c #62758B",
|
||||
"44 c #5B7C9C",
|
||||
"45 c #5F7A95",
|
||||
"46 c #577897",
|
||||
"47 c #597796",
|
||||
"48 c #567493",
|
||||
"49 c #53718F",
|
||||
"4A c #5B7086",
|
||||
"4B c #516E8B",
|
||||
"4C c #596C81",
|
||||
"4D c #4F6C88",
|
||||
"4E c #4E6B87",
|
||||
"4F c #4B6581",
|
||||
"50 c #FFE14F",
|
||||
"51 c #FADC4D",
|
||||
"52 c #FFD34A",
|
||||
"53 c #FFCD48",
|
||||
"54 c #FFC346",
|
||||
"55 c #EDCB48",
|
||||
"56 c #FFBD43",
|
||||
"57 c #F0BC42",
|
||||
"58 c #FFB541",
|
||||
"59 c #EDBA41",
|
||||
"5A c #FFFF00",
|
||||
"5B c #FEAC3E",
|
||||
"5C c #F0AF3E",
|
||||
"5D c #FEA33B",
|
||||
"5E c #F0A239",
|
||||
"5F c #ECA93C",
|
||||
"60 c #DFA93B",
|
||||
"61 c #FF9B3A",
|
||||
"62 c #FF9539",
|
||||
"63 c #FF9236",
|
||||
"64 c #F09737",
|
||||
"65 c #FF8C35",
|
||||
"66 c #FF8433",
|
||||
"67 c #EF8F34",
|
||||
"68 c #ED8232",
|
||||
"69 c #DE9C37",
|
||||
"6A c #DC9335",
|
||||
"6B c #CE842F",
|
||||
"6C c #B09935",
|
||||
"6D c #B39133",
|
||||
"6E c #B2852E",
|
||||
"6F c #808000",
|
||||
"70 c #FF7C31",
|
||||
"71 c #FF7731",
|
||||
"72 c #FF7B2F",
|
||||
"73 c #FF732D",
|
||||
"74 c #ED7A2E",
|
||||
"75 c #FF6C2B",
|
||||
"76 c #FE662A",
|
||||
"77 c #ED6528",
|
||||
"78 c #CA702D",
|
||||
"79 c #ED5925",
|
||||
"7A c #B27D2C",
|
||||
"7B c #AF7D2D",
|
||||
"7C c #BD632B",
|
||||
"7D c #B26B27",
|
||||
"7E c #B16525",
|
||||
"7F c #9F7629",
|
||||
"80 c #9F7027",
|
||||
"81 c #806423",
|
||||
"82 c #BC5D28",
|
||||
"83 c #B05C23",
|
||||
"84 c #BA5525",
|
||||
"85 c #B05722",
|
||||
"86 c #B94B23",
|
||||
"87 c #B84421",
|
||||
"88 c #815D21",
|
||||
"89 c #B3481D",
|
||||
"8A c #B03F1A",
|
||||
"8B c #AB391B",
|
||||
"8C c #A02E19",
|
||||
"8D c #9E3219",
|
||||
"8E c #8B2815",
|
||||
"8F c #852E13",
|
||||
"90 c #5A6B7F",
|
||||
"91 c #56687D",
|
||||
"92 c #55677B",
|
||||
"93 c #516376",
|
||||
"94 c #4A647E",
|
||||
"95 c #4E6073",
|
||||
"96 c #475F78",
|
||||
"97 c #445C76",
|
||||
"98 c #41586F",
|
||||
"99 c #40566F",
|
||||
"9A c #6A4E4A",
|
||||
"9B c #3D546B",
|
||||
"9C c #3C5267",
|
||||
"9D c #384C61",
|
||||
"9E c #354B63",
|
||||
"9F c #334558",
|
||||
"A0 c #314254",
|
||||
"A1 c #2B3C4D",
|
||||
"A2 c #243342",
|
||||
"A3 c #7C4221",
|
||||
"A4 c #7B3B1E",
|
||||
"A5 c #7B341C",
|
||||
"A6 c #792E1A",
|
||||
"A7 c #7D2E14",
|
||||
"A8 c #632114",
|
||||
"A9 c #513E16",
|
||||
"AA c #4E3A14",
|
||||
"AB c #5F200D",
|
||||
"AC c #651E14",
|
||||
"AD c #661A0D",
|
||||
"AE c #5D1F12",
|
||||
"AF c #561C12",
|
||||
"B0 c #451912",
|
||||
"B1 c #5F1D0C",
|
||||
"B2 c #411409",
|
||||
"B3 c #222F3C",
|
||||
"B4 c #1B252E",
|
||||
"B5 c #121F2B",
|
||||
"B6 c #141C23",
|
||||
"B7 c #2F240D",
|
||||
"B8 c #251D0B",
|
||||
"B9 c #221006",
|
||||
"BA c #12181F",
|
||||
"BB c #151515",
|
||||
"BC c #0E141A",
|
||||
"BD c #060F19",
|
||||
"BE c #141006",
|
||||
"BF c #120E05",
|
||||
"C0 c #000000",
|
||||
".. s None c None",
|
||||
"..133D484B4B4B484848484848484848484848484848484847444444479490..",
|
||||
"0B0A3894959593914C4C4C4C4C4C4C4C4C4C4C4C4C4C4C4C4340261F3694A19F",
|
||||
"1A0C15....................................................3FA29F",
|
||||
"2E45....171B2A2D2D2D2D2D2D2D2D2D2D2D2E2E2E2E2E2F323A444E..164FB3",
|
||||
"324A..1012292D31323232323232323232323232323233343D464E97..3E9BBA",
|
||||
"3091..12180504011C05010E1C0301143A3A3A3A3D3D3E44484F97..3348A2C0",
|
||||
"2F92..17290501011505010111050101444444444448494E9497..313D9DBC..",
|
||||
"2C92..182A200101413B01024444010344484848494D4F9798..313297B6C0..",
|
||||
"2B92..192A1C010F48240108481D01144848484B4D4F9798..313297B4C0....",
|
||||
"1E92..192A0F0125481501154811012248484B4D4F9798..313297B4C0BB....",
|
||||
"1E92..192A0601374808012548070135480097969798..313297B4C0A3BB....",
|
||||
"1E92..192A0301424803013C48030142000051A09C..313297B4C061A3BB....",
|
||||
"1E92..192A34444848484848484848000028515121393397B4C05462A3BB....",
|
||||
"1E92..192A344448484848484848000028000000519499B4C0535663A4BB....",
|
||||
"1E92..192A34444848484848485A0028000028000051B6C053535865A4BB....",
|
||||
"1E92..192A3444484848484800005A5A092800002800006D59545B66A4BB....",
|
||||
"1E92..192A3444484848480000285A00C06F0028000051006E5C5D66A4BB....",
|
||||
"1E92..192A3444484848000028006F0928C0C000000051B888695D70A4BB....",
|
||||
"1E92..192A34444848510028002800002800C0C05151BFA97A5E5D71A5BB....",
|
||||
"1E92..192A3444484B97510028000028002800C0C0BFAA7B5F5D6173A5BB....",
|
||||
"1E92..192A3444494D96A0515100280000002800C0C0886A5D5D6375A5BB....",
|
||||
"1E92..192A34444B4F979C21510000002800512809C0C0286B676575A5BB....",
|
||||
"1E92..192D39484F9798..39945100280051BFB728C0C0C0287E7476A6BB....",
|
||||
"1E90..192D3D4D9698..313399B6510051BEA97F802809C0C0288579A6BB....",
|
||||
"1E4C..1B31444F97..313297B4C06C51B8A96E5FC06F2800C0C0288AA6BB....",
|
||||
"1E43..2A394997..313297B4C050556D816E5F5B6AC06F2800C0C0ABA8BB....",
|
||||
"1E37..314494..313297B4C050515257605C5B5B647DC06F2800C0B2AEBB....",
|
||||
"1E23..3D4E..313297B4C05152535456585B5D61626883C0B92828B2AFBB....",
|
||||
"2C16......313397B4C054585B5B5D616365666672737789A78FB1ADB0BB....",
|
||||
"390D274F33489BB4C062787C7C7C8284848486868687898B8D8C8EAC9ABB....",
|
||||
"9F4B9E4F9BA1B6C0BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB......",
|
||||
"..9FB5BDB4BC....................................................",
|
||||
};
|
||||
@@ -1,77 +0,0 @@
|
||||
/* XPM */
|
||||
static char *pixmap[] = {
|
||||
/* width height ncols cpp */
|
||||
"16 16 55 2",
|
||||
/* Colors */
|
||||
"00 c #FFFFFF",
|
||||
"01 c #C0C0C0",
|
||||
"02 c #BDCBDA",
|
||||
"03 c #808080",
|
||||
"04 c #77BEFF",
|
||||
"05 c #65AFFC",
|
||||
"06 c #57A1EE",
|
||||
"07 c #70A7DC",
|
||||
"08 c #7BA2C7",
|
||||
"09 c #679CD1",
|
||||
"0A c #6093CA",
|
||||
"0B c #5A8DC2",
|
||||
"0C c #3B80CB",
|
||||
"0D c #5488BD",
|
||||
"0E c #4E81B5",
|
||||
"0F c #3376C0",
|
||||
"10 c #4B7DB0",
|
||||
"11 c #497AAC",
|
||||
"12 c #4777AA",
|
||||
"13 c #4271A3",
|
||||
"14 c #406E9E",
|
||||
"15 c #2869AF",
|
||||
"16 c #2569AF",
|
||||
"17 c #2365A9",
|
||||
"18 c #2061A5",
|
||||
"19 c #1E60A4",
|
||||
"1A c #3E6C9C",
|
||||
"1B c #3A6595",
|
||||
"1C c #33608B",
|
||||
"1D c #335E8B",
|
||||
"1E c #21578F",
|
||||
"1F c #2F5A87",
|
||||
"20 c #2B5681",
|
||||
"21 c #1B5B9E",
|
||||
"22 c #175799",
|
||||
"23 c #135395",
|
||||
"24 c #104F90",
|
||||
"25 c #0C4787",
|
||||
"26 c #F9DC4D",
|
||||
"27 c #FFFF00",
|
||||
"28 c #FF8333",
|
||||
"29 c #808000",
|
||||
"2A c #D53F11",
|
||||
"2B c #284F7A",
|
||||
"2C c #274E79",
|
||||
"2D c #214973",
|
||||
"2E c #0D4070",
|
||||
"2F c #1B4169",
|
||||
"30 c #193E64",
|
||||
"31 c #083767",
|
||||
"32 c #002F69",
|
||||
"33 c #712511",
|
||||
"34 c #000024",
|
||||
"35 c #000000",
|
||||
".. s None c None",
|
||||
"..060F17222323222119181721251E..",
|
||||
"0504........................3131",
|
||||
"0C..02090B0E111112131A1C2B1F..1F",
|
||||
"16..07270B11131426261D2C30081F34",
|
||||
"19..0A35272701000000262D..1F35..",
|
||||
"21..0D3527003529030000001F3433..",
|
||||
"21..0E352901033535030003002A33..",
|
||||
"21..10130000030035350300002633..",
|
||||
"19..10260003000300353500263533..",
|
||||
"17..12260000030003013535032833..",
|
||||
"15..13352600000300030135350333..",
|
||||
"17..1B1F3526000000260300353503..",
|
||||
"17..202F..3526002635290300353503",
|
||||
"24..1F081F3435263528352903003535",
|
||||
"322E..1F343333353333333529030035",
|
||||
"..343434................35290303",
|
||||
};
|
||||
@@ -1,127 +0,0 @@
|
||||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** 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 Win32 Version System.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Brian Bober <netdemonz@yahoo.com>.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2001
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Bill Law law@netscape.com
|
||||
*
|
||||
* 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 ***** */
|
||||
|
||||
#include<winver.h>
|
||||
|
||||
// Note: if you contain versioning information in an included
|
||||
// RC script, it will be discarded
|
||||
// Use module.ver to explicitly set these values
|
||||
|
||||
// Do not edit this file. Changes won't affect the build.
|
||||
|
||||
#include <windows.h>
|
||||
#include "nsINativeAppSupportWin.h"
|
||||
|
||||
1 24 "composer.exe.manifest"
|
||||
|
||||
// Splash screen dialog ID.
|
||||
#define IDD_SPLASH 100
|
||||
|
||||
// Splash screen bitmap ID.
|
||||
#define IDB_SPLASH 101
|
||||
|
||||
// Program icon.
|
||||
IDI_APPLICATION ICON
|
||||
"mozilla.ico"
|
||||
|
||||
// Splash screen dialog.
|
||||
IDD_SPLASH DIALOGEX
|
||||
DISCARDABLE
|
||||
0,0,0,0
|
||||
STYLE DS_SETFOREGROUND | DS_CENTER | WS_POPUP
|
||||
EXSTYLE WS_EX_TOOLWINDOW
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
CONTROL
|
||||
IDB_SPLASH,
|
||||
IDB_SPLASH,
|
||||
"Static",
|
||||
SS_BITMAP,
|
||||
0,0,0,0
|
||||
END
|
||||
|
||||
// Splash screen bitmap.
|
||||
//IDB_SPLASH BITMAP
|
||||
// "splash.bmp"
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
BEGIN
|
||||
IDS_STARTMENU_APPNAME, "Composer"
|
||||
END
|
||||
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Version
|
||||
//
|
||||
|
||||
1 VERSIONINFO
|
||||
FILEVERSION 0,0,0,0
|
||||
PRODUCTVERSION 0,0,0,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
FILEFLAGS VS_FF_PRIVATEBUILD | VS_FF_DEBUG
|
||||
FILEOS VOS__WINDOWS32
|
||||
FILETYPE VFT_DLL
|
||||
FILESUBTYPE 0x0L
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "000004b0"
|
||||
BEGIN
|
||||
VALUE "Comments", ""
|
||||
VALUE "LegalCopyright", "License: MPL 1.1/GPL 2.0/LGPL 2.1"
|
||||
VALUE "CompanyName", "Mozilla Foundation"
|
||||
VALUE "FileDescription", "Composer"
|
||||
VALUE "FileVersion", "Personal Debug"
|
||||
VALUE "ProductVersion", "Personal Debug"
|
||||
VALUE "InternalName", ""
|
||||
VALUE "LegalTrademarks", "Mozilla"
|
||||
VALUE "OriginalFilename", "composer.exe"
|
||||
|
||||
VALUE "PrivateBuild", ""
|
||||
|
||||
VALUE "ProductName", "Composer"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x0, 1200
|
||||
END
|
||||
END
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
WIN32_MODULE_DESCRIPTION=Composer
|
||||
WIN32_MODULE_PRODUCTNAME=Composer
|
||||
@@ -1,116 +0,0 @@
|
||||
/* XPM */
|
||||
static char *mozilla.xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 16 94 2",
|
||||
" c opaque",
|
||||
". c #655a47",
|
||||
"X c #7e6e53",
|
||||
"o c #897a5e",
|
||||
"O c #817764",
|
||||
"+ c #817a6f",
|
||||
"@ c #897d63",
|
||||
"# c #8e8063",
|
||||
"$ c #918369",
|
||||
"% c #948974",
|
||||
"& c #988b71",
|
||||
"* c #988e7d",
|
||||
"= c #a2947b",
|
||||
"- c #af9e7a",
|
||||
"; c #858995",
|
||||
": c #958d83",
|
||||
"> c #9b9da6",
|
||||
", c #9ea3b2",
|
||||
"< c #99a0b8",
|
||||
"1 c #a09682",
|
||||
"2 c #aa9c81",
|
||||
"3 c #a09a90",
|
||||
"4 c #afa285",
|
||||
"5 c #afa288",
|
||||
"6 c #a8a090",
|
||||
"7 c #b4a586",
|
||||
"8 c #b3a689",
|
||||
"9 c #b8aa8c",
|
||||
"0 c #b8ad96",
|
||||
"q c #bcb199",
|
||||
"w c #a1a0a2",
|
||||
"e c #a8a6a4",
|
||||
"r c #aca9a5",
|
||||
"t c #a7aab6",
|
||||
"y c #a6a9b8",
|
||||
"u c #aab0bd",
|
||||
"i c #b6afa1",
|
||||
"p c #b5b1aa",
|
||||
"a c #bbb4a4",
|
||||
"s c #b1b3be",
|
||||
"d c #adb6cc",
|
||||
"f c #adb7d1",
|
||||
"g c #b1b9cd",
|
||||
"h c #b7c0d6",
|
||||
"j c #b8c4e3",
|
||||
"k c #c4b188",
|
||||
"l c #c3b496",
|
||||
"z c #c3b69b",
|
||||
"x c #cebd96",
|
||||
"c c #c9bb99",
|
||||
"v c #c6b9a1",
|
||||
"b c #c3bcac",
|
||||
"n c #c8bca6",
|
||||
"m c #c4bfb2",
|
||||
"M c #d2c097",
|
||||
"N c #d0c19d",
|
||||
"B c #cfc2a3",
|
||||
"V c #cfc4af",
|
||||
"C c #c7c0b2",
|
||||
"Z c #ccc5b5",
|
||||
"A c #d5c7a5",
|
||||
"S c #d7c9ad",
|
||||
"D c #dbcdae",
|
||||
"F c #d7ceba",
|
||||
"G c #daceb5",
|
||||
"H c #ddd0b3",
|
||||
"J c #dbd1ba",
|
||||
"K c #e3d7ba",
|
||||
"L c #e3d8be",
|
||||
"P c #dfd9c8",
|
||||
"I c #cdd4e5",
|
||||
"U c #cfd8ec",
|
||||
"Y c #d3defc",
|
||||
"T c #dee2ef",
|
||||
"R c #d7e3ff",
|
||||
"E c #dfe4f3",
|
||||
"W c #dbe7ff",
|
||||
"Q c #dde8fe",
|
||||
"! c #e5dbc4",
|
||||
"~ c #eadec4",
|
||||
"^ c #e8dfc8",
|
||||
"/ c #ece3cd",
|
||||
"( c #ece4d1",
|
||||
") c #efe8d5",
|
||||
"_ c #e5eaf5",
|
||||
"` c #e3edfe",
|
||||
"' c #e7f1fe",
|
||||
"] c #eef4fe",
|
||||
"[ c #f9f3e3",
|
||||
"{ c #fbf6e8",
|
||||
"} c #f1f6ff",
|
||||
"| c #f4faff",
|
||||
" . c #fbfeff",
|
||||
".. c None",
|
||||
/* pixels */
|
||||
"..............# @ @ ............",
|
||||
"............@ 3 C a @ ..........",
|
||||
"........@ @ 3 b b Z Z O ........",
|
||||
"......@ E T g , > r p m @ ......",
|
||||
"....@ ; . . .} _ I g d y @ ....",
|
||||
"..# + f .} ] ] ] . .| U r @ ..",
|
||||
"..7 * g ' ` ' ` W ` ` ` r k @ ..",
|
||||
"..9 H 0 s Y ` W R W R u 8 M @ ..",
|
||||
"..5 L L v w j d t g < 1 N x @ ..",
|
||||
"..2 L ! ( J : i P b % B A x @ ..",
|
||||
"..= L ! ( F n [ { [ F 5 c x @ ..",
|
||||
"..& K J q Z ( / / ! ^ G 8 - @ ..",
|
||||
"..$ G 2 n / ~ ! L L G D l X @ ..",
|
||||
"..o 8 c ~ J S l - # . @ @ @ ....",
|
||||
"..@ & = @ @ @ ..................",
|
||||
"................................"
|
||||
};
|
||||
@@ -1,292 +0,0 @@
|
||||
/* XPM */
|
||||
static char *mozilla.xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"48 48 238 2",
|
||||
" c opaque",
|
||||
". c #3f301d",
|
||||
"X c #3d3e3b",
|
||||
"o c #06175e",
|
||||
"O c #04264b",
|
||||
"+ c #04294f",
|
||||
"@ c #05255e",
|
||||
"# c #08227d",
|
||||
"$ c #063567",
|
||||
"% c #0f3c75",
|
||||
"& c #1a257a",
|
||||
"* c #26394a",
|
||||
"= c #323641",
|
||||
"- c #313940",
|
||||
"; c #393848",
|
||||
": c #06407f",
|
||||
"> c #16406c",
|
||||
", c #1a4571",
|
||||
"< c #3c4449",
|
||||
"1 c #24476c",
|
||||
"2 c #453722",
|
||||
"3 c #4b3d28",
|
||||
"4 c #4f422d",
|
||||
"5 c #51432d",
|
||||
"6 c #574933",
|
||||
"7 c #524c3f",
|
||||
"8 c #5e4f38",
|
||||
"9 c #5d503b",
|
||||
"0 c #64553e",
|
||||
"q c #404a4d",
|
||||
"w c #4a4647",
|
||||
"e c #4a4d4d",
|
||||
"r c #424e59",
|
||||
"t c #484754",
|
||||
"y c #5d584c",
|
||||
"u c #5a6368",
|
||||
"i c #665840",
|
||||
"p c #645b48",
|
||||
"a c #6a5b43",
|
||||
"s c #6c5f49",
|
||||
"d c #6c614e",
|
||||
"f c #73644b",
|
||||
"g c #766a57",
|
||||
"h c #746c5e",
|
||||
"j c #7b6c53",
|
||||
"k c #7b6e58",
|
||||
"l c #7e725a",
|
||||
"z c #63646b",
|
||||
"x c #6c6f7d",
|
||||
"c c #7f7766",
|
||||
"v c #787974",
|
||||
"b c #787d7f",
|
||||
"n c #092a8c",
|
||||
"m c #0e219e",
|
||||
"M c #0a289c",
|
||||
"N c #093c9c",
|
||||
"B c #0c21ab",
|
||||
"V c #0b2aab",
|
||||
"C c #0d23bb",
|
||||
"Z c #1022a0",
|
||||
"A c #253293",
|
||||
"S c #0f2ada",
|
||||
"D c #102ce9",
|
||||
"F c #1130f9",
|
||||
"G c #08469d",
|
||||
"H c #0f5096",
|
||||
"J c #08519d",
|
||||
"K c #155496",
|
||||
"L c #1e5692",
|
||||
"P c #0948ac",
|
||||
"I c #0851a0",
|
||||
"U c #0958ad",
|
||||
"Y c #0e5db1",
|
||||
"T c #1158a4",
|
||||
"R c #165eaa",
|
||||
"E c #0960bc",
|
||||
"W c #2b5d91",
|
||||
"Q c #33409e",
|
||||
"! c #0a68cc",
|
||||
"~ c #0b71dc",
|
||||
"^ c #0b77eb",
|
||||
"/ c #44578c",
|
||||
"( c #4f5c84",
|
||||
") c #616d91",
|
||||
"_ c #68708b",
|
||||
"` c #6f7996",
|
||||
"' c #7e7d81",
|
||||
"] c #6d7caa",
|
||||
"[ c #717ea7",
|
||||
"{ c #0c80fb",
|
||||
"} c #7e898f",
|
||||
"| c #7e8592",
|
||||
" . c #7c849d",
|
||||
".. c #7481a7",
|
||||
"X. c #7280aa",
|
||||
"o. c #7a87ac",
|
||||
"O. c #7685b1",
|
||||
"+. c #817259",
|
||||
"@. c #897a5e",
|
||||
"#. c #877860",
|
||||
"$. c #857a69",
|
||||
"%. c #8b7e66",
|
||||
"&. c #8f8064",
|
||||
"*. c #8c8271",
|
||||
"=. c #918165",
|
||||
"-. c #94856a",
|
||||
";. c #9b8c6f",
|
||||
":. c #918672",
|
||||
">. c #918978",
|
||||
",. c #9b8d73",
|
||||
"<. c #998e7a",
|
||||
"1. c #9e9175",
|
||||
"2. c #a19274",
|
||||
"3. c #a4957a",
|
||||
"4. c #a7997e",
|
||||
"5. c #ab9b7c",
|
||||
"6. c #838389",
|
||||
"7. c #868886",
|
||||
"8. c #898787",
|
||||
"9. c #878992",
|
||||
"0. c #848999",
|
||||
"q. c #859097",
|
||||
"w. c #8e9098",
|
||||
"e. c #908a83",
|
||||
"r. c #94918e",
|
||||
"t. c #9a9181",
|
||||
"y. c #99968d",
|
||||
"u. c #969290",
|
||||
"i. c #9a9691",
|
||||
"p. c #9f9b93",
|
||||
"a. c #9d9b9b",
|
||||
"s. c #858da5",
|
||||
"d. c #808db4",
|
||||
"f. c #8190bd",
|
||||
"g. c #8e98b1",
|
||||
"h. c #9195a3",
|
||||
"j. c #9c9ea6",
|
||||
"k. c #a19682",
|
||||
"l. c #a49981",
|
||||
"z. c #a39c8d",
|
||||
"x. c #a99c84",
|
||||
"c. c #a39d93",
|
||||
"v. c #aea083",
|
||||
"b. c #ada189",
|
||||
"n. c #a6a196",
|
||||
"m. c #a7a299",
|
||||
"M. c #aca495",
|
||||
"N. c #aca79c",
|
||||
"B. c #b3a484",
|
||||
"V. c #b1a68b",
|
||||
"C. c #b6aa8f",
|
||||
"Z. c #b6ab94",
|
||||
"A. c #b1aa9c",
|
||||
"S. c #bbad91",
|
||||
"D. c #bdb090",
|
||||
"F. c #bbb099",
|
||||
"G. c #a4a4aa",
|
||||
"H. c #b6afa0",
|
||||
"J. c #b6b0a5",
|
||||
"K. c #bab3a5",
|
||||
"L. c #bcb6a9",
|
||||
"P. c #beb8aa",
|
||||
"I. c #8796c1",
|
||||
"U. c #8d9cca",
|
||||
"Y. c #9da7c4",
|
||||
"T. c #9fa8c4",
|
||||
"R. c #9da9c9",
|
||||
"E. c #97a6d1",
|
||||
"W. c #98a9da",
|
||||
"Q. c #a3adcb",
|
||||
"!. c #adb3c3",
|
||||
"~. c #abb6d3",
|
||||
"^. c #b0b6c1",
|
||||
"/. c #b1bcdb",
|
||||
"(. c #a8b8e1",
|
||||
"). c #b5c0de",
|
||||
"_. c #b8c2d8",
|
||||
"`. c #bac5e4",
|
||||
"'. c #bbc7e8",
|
||||
"]. c #c0af87",
|
||||
"[. c #c4b38d",
|
||||
"{. c #c3b493",
|
||||
"}. c #c1b69b",
|
||||
"|. c #c6b89d",
|
||||
" X c #c9b994",
|
||||
".X c #ccbd9a",
|
||||
"XX c #c3b8a0",
|
||||
"oX c #c2bbad",
|
||||
"OX c #c4beb1",
|
||||
"+X c #cec2a3",
|
||||
"@X c #c6c0b2",
|
||||
"#X c #c9c2b5",
|
||||
"$X c #ccc6b9",
|
||||
"%X c #d1c4a4",
|
||||
"&X c #d2c5a8",
|
||||
"*X c #d5c9ab",
|
||||
"=X c #d8cbae",
|
||||
"-X c #d5c9b0",
|
||||
";X c #d9ceb2",
|
||||
":X c #dbd0b5",
|
||||
">X c #ddd3ba",
|
||||
",X c #e0d6bd",
|
||||
"<X c #c0c7db",
|
||||
"1X c #c0c9da",
|
||||
"2X c #d2cec4",
|
||||
"3X c #c3cdea",
|
||||
"4X c #cad3e6",
|
||||
"5X c #c8d4ee",
|
||||
"6X c #c7d3f5",
|
||||
"7X c #cad6f8",
|
||||
"8X c #cddaf4",
|
||||
"9X c #d2dbed",
|
||||
"0X c #d8deee",
|
||||
"qX c #d1dbf2",
|
||||
"wX c #d0dbfb",
|
||||
"eX c #dbe1ed",
|
||||
"rX c #d6e1fc",
|
||||
"tX c #dfe4f0",
|
||||
"yX c #dae5fd",
|
||||
"uX c #dee9fe",
|
||||
"iX c #e3d9c3",
|
||||
"pX c #e6ddc8",
|
||||
"aX c #e8dfca",
|
||||
"sX c #e8e0cc",
|
||||
"dX c #ebe4d2",
|
||||
"fX c #eee8d6",
|
||||
"gX c #f1ebdb",
|
||||
"hX c #e2e9f7",
|
||||
"jX c #e3ecfd",
|
||||
"kX c #e9effc",
|
||||
"lX c #e7f0fe",
|
||||
"zX c #ebf2fd",
|
||||
"xX c #f5f0e1",
|
||||
"cX c #f9f5e9",
|
||||
"vX c #f1f6fd",
|
||||
"bX c #f5f9fe",
|
||||
"nX c #fafcfe",
|
||||
"mX c None",
|
||||
/* pixels */
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX&.&.&.mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX&.&.t.M.*.5 mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX&.k A.K.K.K.z.9 mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX%.:.L.L.L.P.P.oXA.s mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX&.z.oXoXoXoXoXoXoXoXK.k mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmX] X.X.$.c.A.K.oXOX@X#X#X@X#XoX%.mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmX/ <XnXtXW.X.` 9.p.N.K.oXOX#X$X$X$X,.mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmX( vXnXnXnXnXeX/.I.[ .w.c.G.H.P.OX#Xl.mXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmX=.o.nXnXnXbXnXbXnXbXbXeX).E.O.o.s.h.a.m.>.mXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmX&.x _.nXnXbXvXvXvXbXbXnXnXnXnXbXzXqX'.(.W.U.X._ mXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmX&.m.) hXbXbXvXzXbXvXzXzXzXzXbXbXvXzXnXzXzXkXeX^.6.v.mXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmX&.&.h o.lXzXvXzXzXzXzXzXzXuXzXzXvXzXzXzXzXzXtX!.y.v.5.mXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXB.1.z R.yXlXkXkXkXlXzXjXuXkXyXzXkXzXkXzXzXeX^.i.5.].4.mXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmX2.*XF.1.G.4XuXuXuXjXuXlXuXrXyXyXuXuXuXuXuXeX!.y.2.[.[.2.mXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmX;.*X*X+X3.m._.qXrXyXuXuXuXyXyXyXuXrXrXyX8X!.r.2. X X[.;.mXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmX-.*X=X>X:XV.<.!.5XrXyXuXuXrXwXrXuXwX8X5X| - d D. X X[.-.mXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmX&.=X:X>X>X,XXX-.j.`.7XrX8X'.).'.8X6X'.T.8.p B t V. X[.=.mXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmX@.=X:X>X,XpXaX:X;.e.~.).T.h.8.r.j.Q.g.- k Z.A D w 5.[.l mXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmX+.*X:X>X,XaXaXdXdXb.$. .>.4.e z.b.-.1 < l.}.Q F Z l B.X mXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXj =X:X>XiXsXaXdXdXgXoX-.F.cXR b 2X7.^ 7 y c B F F ; 1.H + mXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXf ;X:X>X,XiXsXdXdXdXn.Z.cXK.^ H y.W { * X % F F F & q ^ I mXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXf *X:X>X>XiXaXpXdXb.b.xXxXq.{ { , E { Y > ! S F F m ! { E mXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXa *X:X>X>X,XpXpXx.l.gXgXgX} { { { E { { U E C F F C { { E mXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmX0 &X*X:X>X>X,Xl.3.fXfXdXp.r E { ! E { { { E V F F V { { + mXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmX9 %X*X=X:X>X4.,.aXdXdXaXiXW ~ ^ @ I ^ { { { ^ n F N ^ { ! mXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmX6 %X*X*X=X4.-.iXaXaXiXiX,Xv ! ^ C o J { { { { ^ # ! { ^ H mXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmX5 %X%X&X3.&.>XiXiXiX,X,X>Xu U ^ M C ! ! ^ { { { ^ { { ^ mXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmX3 .X%X2.#.>X,X,X>X:X>X:X;XV.T { P S Y { { { { { { { { { mXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmX2 .X2.k -X>X:X;X;X=X=X%XS.2.&.Y { I @ ^ ^ { { { { { ^ mXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmX. ;.j &X:X=X|.v.,.&.&.%.mXmXmXmX$ U ^ ^ { ^ { ^ ^ I mXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmX3 i &.&.&.&.&.mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX",
|
||||
"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX"
|
||||
};
|
||||
|
Before Width: | Height: | Size: 3.6 KiB |
@@ -1,142 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# ***** 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 mozilla.org Code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is
|
||||
# Netscape Communications Corporation.
|
||||
# Portions created by the Initial Developer are Copyright (C) 1998
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
# 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 *****
|
||||
|
||||
## $Id: mozilla.in,v 1.3 2005-09-20 21:11:35 dbaron%dbaron.org Exp $
|
||||
##
|
||||
## Usage:
|
||||
##
|
||||
## $ mozilla [args]
|
||||
##
|
||||
## This script is meant to run the mozilla-bin binary from either
|
||||
## mozilla/xpfe/bootstrap or mozilla/dist/bin.
|
||||
##
|
||||
## The script will setup all the environment voodoo needed to make
|
||||
## the mozilla-bin binary to work.
|
||||
##
|
||||
|
||||
#uncomment for debugging
|
||||
#set -x
|
||||
|
||||
moz_libdir=%MOZAPPDIR%
|
||||
MRE_HOME=%MREDIR%
|
||||
|
||||
# honor MOZILLA_FIVE_HOME if it's there
|
||||
if [ -n "$MOZILLA_FIVE_HOME" ] ; then
|
||||
dist_bin="$MOZILLA_FIVE_HOME"
|
||||
else
|
||||
# Use run-mozilla.sh in the current dir if it exists
|
||||
# If not, then start resolving symlinks until we find run-mozilla.sh
|
||||
found=0
|
||||
progname=$0
|
||||
curdir=`dirname "$progname"`
|
||||
run_moz="$curdir/run-mozilla.sh"
|
||||
if test -x "$run_moz"; then
|
||||
dist_bin=$curdir
|
||||
found=1
|
||||
else
|
||||
here=`/bin/pwd`
|
||||
while [ -h "$progname" ]; do
|
||||
bn=`basename "$progname"`
|
||||
cd `dirname "$progname"`
|
||||
progname=`/bin/ls -l "$bn" |sed -e 's/^.* -> //' `
|
||||
if [ ! -x "$progname" ]; then
|
||||
break
|
||||
fi
|
||||
curdir=`dirname "$progname"`
|
||||
run_moz="$curdir/run-mozilla.sh"
|
||||
if [ -x "$run_moz" ]; then
|
||||
cd "$curdir"
|
||||
dist_bin=`pwd`
|
||||
found=1
|
||||
break
|
||||
fi
|
||||
done
|
||||
cd "$here"
|
||||
fi
|
||||
if [ $found = 0 ]; then
|
||||
# Check default compile-time libdir
|
||||
if [ -x "$moz_libdir/run-mozilla.sh" ]; then
|
||||
dist_bin=$moz_libdir
|
||||
else
|
||||
echo "Cannot find mozilla runtime directory. Exiting."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
script_args=""
|
||||
debugging=0
|
||||
MOZILLA_BIN="mozilla-bin"
|
||||
|
||||
if [ "$OSTYPE" = "beos" ]; then
|
||||
mimeset -F $MOZILLA_BIN
|
||||
fi
|
||||
|
||||
pass_arg_count=0
|
||||
while [ $# -gt $pass_arg_count ]
|
||||
do
|
||||
case "$1" in
|
||||
-p | -pure)
|
||||
MOZILLA_BIN="mozilla-bin.pure"
|
||||
shift
|
||||
;;
|
||||
-g | --debug)
|
||||
script_args="$script_args -g"
|
||||
debugging=1
|
||||
shift
|
||||
;;
|
||||
-d | --debugger)
|
||||
script_args="$script_args -d $2"
|
||||
shift 2
|
||||
;;
|
||||
*)
|
||||
# Move the unrecognized argument to the end of the list.
|
||||
arg="$1"
|
||||
shift
|
||||
set -- "$@" "$arg"
|
||||
pass_arg_count=`expr $pass_arg_count + 1`
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
export MRE_HOME
|
||||
if [ $debugging = 1 ]
|
||||
then
|
||||
echo $dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN "$@"
|
||||
fi
|
||||
exec "$dist_bin/run-mozilla.sh" $script_args "$dist_bin/$MOZILLA_BIN" "$@"
|
||||
@@ -1,70 +0,0 @@
|
||||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** 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 mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2002
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Brian Ryner <bryner@brianryner.com>
|
||||
* Daniel Glazman <daniel@glazman.org>, on behalf of Lindows.com
|
||||
*
|
||||
* 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 ***** */
|
||||
|
||||
#include "nsXULAppAPI.h"
|
||||
#include "nsISoftwareUpdate.h"
|
||||
#ifdef XP_WIN
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
nsXREAppData appData;
|
||||
appData.SetSplashEnabled(PR_FALSE);
|
||||
appData.SetProductName(NS_LITERAL_CSTRING("Composer"));
|
||||
appData.SetUseStartupPrefs(PR_TRUE);
|
||||
return xre_main(argc, argv, appData);
|
||||
}
|
||||
|
||||
#if defined(MOZ_WIDGET_GTK) || defined(MOZ_WIDGET_GTK2)
|
||||
char* splash_xpm[] = {0};
|
||||
#endif
|
||||
|
||||
#if defined XP_WIN && !defined __GNUC__
|
||||
// We need WinMain in order to not be a console app. This function is
|
||||
// unused if we are a console application.
|
||||
//
|
||||
// However, if using MingW on Win32, we can't use this as GCC complains
|
||||
// about the use of main.
|
||||
int WINAPI WinMain( HINSTANCE, HINSTANCE, LPSTR args, int )
|
||||
{
|
||||
// Do the real work.
|
||||
return main( __argc, __argv );
|
||||
}
|
||||
#endif
|
||||
@@ -1,58 +0,0 @@
|
||||
#
|
||||
# ***** 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 mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is
|
||||
# Netscape Communications Corporation.
|
||||
# Portions created by the Initial Developer are Copyright (C) 2002
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
# 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 *****
|
||||
|
||||
DEPTH = ../../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
FILES := editor.js all.js $(NULL)
|
||||
|
||||
libs:: $(FILES)
|
||||
$(INSTALL) $^ $(DIST)/bin/defaults/profile
|
||||
$(INSTALL) $^ $(DIST)/bin/defaults/profile/US
|
||||
|
||||
install:: $(FILES)
|
||||
$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/defaults/profile
|
||||
$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/defaults/profile/US
|
||||
|
||||
|
||||
@@ -1,83 +0,0 @@
|
||||
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** 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 mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
* 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 ***** */
|
||||
|
||||
pref("general.skins.selectedSkin", "modern/1.0");
|
||||
pref("general.useragent.extra.composer", "Mozilla (standalone) Composer/0.0.1");
|
||||
|
||||
pref("general.startup.browser", false);
|
||||
pref("general.startup.editor", true);
|
||||
|
||||
pref("browser.cache.disk.capacity", 50000);
|
||||
pref("browser.cache.memory.capacity", 4096);
|
||||
|
||||
// css2 hover pref
|
||||
pref("nglayout.events.showHierarchicalHover", false);
|
||||
|
||||
// Default bookmark sorting
|
||||
pref("browser.bookmarks.sort.direction", "descending");
|
||||
pref("browser.bookmarks.sort.resource", "rdf:http://home.netscape.com/NC-rdf#Name");
|
||||
|
||||
// Default Capability Preferences: Security-Critical!
|
||||
// Editing these may create a security risk - be sure you know what you're doing
|
||||
//pref("capability.policy.default.barprop.visible.set", "UniversalBrowserWrite");
|
||||
|
||||
pref("capability.policy.policynames", "");
|
||||
pref("dom.disable_open_during_load", false);
|
||||
pref("javascript.enabled", false);
|
||||
pref("offline.news.download.use_days", 0);
|
||||
|
||||
// Enable http compression: comment this out in case of problems with 1.1
|
||||
pref("network.http.accept-encoding" ,"gzip,deflate,compress;q=0.9");
|
||||
|
||||
pref("network.enableIDN", false); // Turn on/off IDN (Internationalized Domain Name) resolution
|
||||
pref("intl.menuitems.alwaysappendacceskeys","chrome://navigator/locale/navigator.properties");
|
||||
|
||||
// ------------------
|
||||
// Numeral Style
|
||||
// ------------------
|
||||
// 1 = regularcontextnumeralBidi *
|
||||
// 2 = hindicontextnumeralBidi
|
||||
// 3 = arabicnumeralBidi
|
||||
// 4 = hindinumeralBidi
|
||||
pref("bidi.numeral", 1);
|
||||
|
||||
// 0 opens the download manager
|
||||
// 1 opens a progress dialog
|
||||
// 2 and other values, no download manager, no progress dialog.
|
||||
pref("browser.downloadmanager.behavior", 1);
|
||||
|
||||
pref("privacy.popups.sound_enabled", true);
|
||||
@@ -1,122 +0,0 @@
|
||||
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** 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 mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998-2000
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
* 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 ***** */
|
||||
|
||||
pref("editor.author", "");
|
||||
|
||||
pref("editor.text_color", "#000000");
|
||||
pref("editor.link_color", "#0000FF");
|
||||
pref("editor.active_link_color", "#000088");
|
||||
pref("editor.followed_link_color", "#FF0000");
|
||||
pref("editor.background_color", "#FFFFFF");
|
||||
pref("editor.use_background_image", false);
|
||||
pref("editor.default_background_image", "");
|
||||
pref("editor.use_custom_default_colors", 1);
|
||||
|
||||
pref("editor.hrule.height", 2);
|
||||
pref("editor.hrule.width", 100);
|
||||
pref("editor.hrule.width_percent", true);
|
||||
pref("editor.hrule.shading", true);
|
||||
pref("editor.hrule.align", 1); // center
|
||||
|
||||
pref("editor.table.maintain_structure", true);
|
||||
|
||||
pref("editor.prettyprint", true);
|
||||
|
||||
pref("editor.throbber.url","chrome://editor-region/locale/region.properties");
|
||||
|
||||
pref("editor.toolbars.showbutton.new", true);
|
||||
pref("editor.toolbars.showbutton.open", true);
|
||||
pref("editor.toolbars.showbutton.save", true);
|
||||
pref("editor.toolbars.showbutton.publish", true);
|
||||
pref("editor.toolbars.showbutton.preview", true);
|
||||
pref("editor.toolbars.showbutton.cut", false);
|
||||
pref("editor.toolbars.showbutton.copy", false);
|
||||
pref("editor.toolbars.showbutton.paste", false);
|
||||
pref("editor.toolbars.showbutton.print", true);
|
||||
pref("editor.toolbars.showbutton.find", false);
|
||||
pref("editor.toolbars.showbutton.image", true);
|
||||
pref("editor.toolbars.showbutton.hline", false);
|
||||
pref("editor.toolbars.showbutton.table", true);
|
||||
pref("editor.toolbars.showbutton.link", true);
|
||||
pref("editor.toolbars.showbutton.namedAnchor", false);
|
||||
pref("editor.toolbars.showbutton.form", true);
|
||||
|
||||
pref("editor.toolbars.showbutton.bold", true);
|
||||
pref("editor.toolbars.showbutton.italic", true);
|
||||
pref("editor.toolbars.showbutton.underline", true);
|
||||
pref("editor.toolbars.showbutton.DecreaseFontSize", true);
|
||||
pref("editor.toolbars.showbutton.IncreaseFontSize", true);
|
||||
pref("editor.toolbars.showbutton.ul", true);
|
||||
pref("editor.toolbars.showbutton.ol", true);
|
||||
pref("editor.toolbars.showbutton.outdent", true);
|
||||
pref("editor.toolbars.showbutton.indent", true);
|
||||
|
||||
pref("editor.auto_save", false);
|
||||
pref("editor.auto_save_delay", 10); // minutes
|
||||
pref("editor.use_html_editor", 0);
|
||||
pref("editor.html_editor", "");
|
||||
pref("editor.use_image_editor", 0);
|
||||
pref("editor.image_editor", "");
|
||||
|
||||
pref("editor.history.url_maximum", 10);
|
||||
|
||||
pref("editor.publish.", "");
|
||||
pref("editor.lastFileLocation.image", "");
|
||||
pref("editor.lastFileLocation.html", "");
|
||||
pref("editor.save_associated_files", true);
|
||||
pref("editor.always_show_publish_dialog", false);
|
||||
|
||||
/*
|
||||
* What are the entities that you want Mozilla to save using mnemonic
|
||||
* names rather than numeric codes? E.g. If set, we'll output
|
||||
* otherwise, we may output 0xa0 depending on the charset.
|
||||
*
|
||||
* "none" : don't use any entity names; only use numeric codes.
|
||||
* "basic" : use entity names just for & < > " for
|
||||
* interoperability/exchange with products that don't support more
|
||||
* than that.
|
||||
* "latin1" : use entity names for 8bit accented letters and other special
|
||||
* symbols between 128 and 255.
|
||||
* "html" : use entity names for 8bit accented letters, greek letters, and
|
||||
* other special markup symbols as defined in HTML4.
|
||||
*/
|
||||
//pref("editor.encode_entity", "html");
|
||||
|
||||
pref("editor.grid.snap", false);
|
||||
pref("editor.grid.size", 0);
|
||||
pref("editor.resizing.preserve_ratio", true);
|
||||
pref("editor.positioning.offset", 0);
|
||||
@@ -1,76 +0,0 @@
|
||||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** 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 Mozilla Communicator client code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Bill Law law@netscape.com
|
||||
*
|
||||
* 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 ***** */
|
||||
#include <windows.h>
|
||||
#include "nsINativeAppSupportWin.h"
|
||||
|
||||
1 24 "composer.exe.manifest"
|
||||
|
||||
// Splash screen dialog ID.
|
||||
#define IDD_SPLASH 100
|
||||
|
||||
// Splash screen bitmap ID.
|
||||
#define IDB_SPLASH 101
|
||||
|
||||
// Program icon.
|
||||
IDI_APPLICATION ICON
|
||||
"mozilla.ico"
|
||||
|
||||
// Splash screen dialog.
|
||||
IDD_SPLASH DIALOGEX
|
||||
DISCARDABLE
|
||||
0,0,0,0
|
||||
STYLE DS_SETFOREGROUND | DS_CENTER | WS_POPUP
|
||||
EXSTYLE WS_EX_TOOLWINDOW
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
CONTROL
|
||||
IDB_SPLASH,
|
||||
IDB_SPLASH,
|
||||
"Static",
|
||||
SS_BITMAP,
|
||||
0,0,0,0
|
||||
END
|
||||
|
||||
// Splash screen bitmap.
|
||||
//IDB_SPLASH BITMAP
|
||||
// "splash.bmp"
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
BEGIN
|
||||
IDS_STARTMENU_APPNAME, "Composer"
|
||||
END
|
||||
@@ -1,213 +0,0 @@
|
||||
/* ***** 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 Mozilla Communicator client code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998-1999
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Daniel Glazman <glazman@netscape.com>
|
||||
* Daniel Glazman <daniel@glazman.org>, on behalf of Lindows.com
|
||||
*
|
||||
* 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 ***** */
|
||||
|
||||
/* Styles to alter look of things in the Editor content window
|
||||
* for the "Normal Edit Mode" These settings will be removed
|
||||
* when we display in completely WYSIWYG "Edit Preview" mode
|
||||
* Anything that should never change, like cursors, should be
|
||||
* place in EditorOverride.css, instead of here.
|
||||
*/
|
||||
|
||||
a[name] {
|
||||
min-height: 17px; margin-left: 2px; margin-top: 2px;
|
||||
padding-left: 20px;
|
||||
background-image: url(chrome://editor/content/images/tag-anchor.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-position: top left;
|
||||
}
|
||||
|
||||
/* Force border display for empty cells
|
||||
and tables with 0 border
|
||||
*/
|
||||
table {
|
||||
empty-cells: show;
|
||||
}
|
||||
|
||||
/* give a red dotted border to tables and cells with no border
|
||||
otherwise they are invisible
|
||||
*/
|
||||
table[empty-cells],
|
||||
table[border="0"],
|
||||
/* next two selectors on line below for the case where tbody is omitted */
|
||||
table[border="0"] > tr > td, table[border="0"] > tr > th,
|
||||
table[border="0"] > thead > tr > td, table[border="0"] > tbody > tr > td, table[border="0"] > tfoot > tr > td,
|
||||
table[border="0"] > thead > tr > th, table[border="0"] > tbody > tr > th, table[border="0"] > tfoot > tr > th,
|
||||
table:not([border]),
|
||||
/* next two selectors on line below for the case where tbody is omitted */
|
||||
table:not([border]) > tr > td, table:not([border]) > tr > th,
|
||||
table:not([border]) > thead > tr > td, table:not([border]) > tbody > tr > td, table:not([border]) > tfoot > tr > td,
|
||||
table:not([border]) > thead > tr > th, table:not([border]) > tbody > tr > th, table:not([border]) > tfoot > tr > th
|
||||
{
|
||||
border: 1px dotted red;
|
||||
}
|
||||
|
||||
/* give a green dashed border to forms otherwise they are invisible
|
||||
*/
|
||||
form
|
||||
{
|
||||
border: 1px dashed #66cccc;
|
||||
}
|
||||
|
||||
/* give a green dotted border to labels otherwise they are invisible
|
||||
*/
|
||||
label
|
||||
{
|
||||
border: 1px dotted green;
|
||||
}
|
||||
|
||||
/* smileys */
|
||||
span.moz-smiley-s1,
|
||||
span.moz-smiley-s2,
|
||||
span.moz-smiley-s3,
|
||||
span.moz-smiley-s4,
|
||||
span.moz-smiley-s5,
|
||||
span.moz-smiley-s6,
|
||||
span.moz-smiley-s7,
|
||||
span.moz-smiley-s8,
|
||||
span.moz-smiley-s9,
|
||||
span.moz-smiley-s10,
|
||||
span.moz-smiley-s11,
|
||||
span.moz-smiley-s12,
|
||||
span.moz-smiley-s13,
|
||||
span.moz-smiley-s14,
|
||||
span.moz-smiley-s15,
|
||||
span.moz-smiley-s16
|
||||
|
||||
{
|
||||
min-height: 17px; margin-left: 2px; margin-top: 2px;
|
||||
padding-left: 20px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
-moz-user-select: all;
|
||||
|
||||
}
|
||||
|
||||
span.moz-smiley-s1 > span,
|
||||
span.moz-smiley-s2 > span,
|
||||
span.moz-smiley-s3 > span,
|
||||
span.moz-smiley-s4 > span,
|
||||
span.moz-smiley-s5 > span,
|
||||
span.moz-smiley-s6 > span,
|
||||
span.moz-smiley-s7 > span,
|
||||
span.moz-smiley-s8 > span,
|
||||
span.moz-smiley-s9 > span,
|
||||
span.moz-smiley-s10 > span,
|
||||
span.moz-smiley-s11 > span,
|
||||
span.moz-smiley-s12 > span,
|
||||
span.moz-smiley-s13 > span,
|
||||
span.moz-smiley-s14 > span,
|
||||
span.moz-smiley-s15 > span,
|
||||
span.moz-smiley-s16 > span
|
||||
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
span.moz-smiley-s1 {
|
||||
background-image: url(chrome://editor/content/images/smile_n.gif);
|
||||
}
|
||||
|
||||
|
||||
span.moz-smiley-s2 {
|
||||
background-image: url(chrome://editor/content/images/frown_n.gif);
|
||||
}
|
||||
|
||||
|
||||
span.moz-smiley-s3 {
|
||||
background-image: url(chrome://editor/content/images/wink_n.gif);
|
||||
}
|
||||
|
||||
|
||||
span.moz-smiley-s4 {
|
||||
background-image: url(chrome://editor/content/images/tongue_n.gif);
|
||||
}
|
||||
|
||||
span.moz-smiley-s5 {
|
||||
background-image: url(chrome://editor/content/images/laughing_n.gif);
|
||||
}
|
||||
|
||||
span.moz-smiley-s6 {
|
||||
background-image: url(chrome://editor/content/images/embarrassed_n.gif);
|
||||
}
|
||||
|
||||
span.moz-smiley-s7 {
|
||||
background-image: url(chrome://editor/content/images/undecided_n.gif);
|
||||
}
|
||||
|
||||
span.moz-smiley-s8 {
|
||||
background-image: url(chrome://editor/content/images/surprise_n.gif);
|
||||
}
|
||||
|
||||
span.moz-smiley-s9 {
|
||||
background-image: url(chrome://editor/content/images/kiss_n.gif);
|
||||
}
|
||||
|
||||
span.moz-smiley-s10 {
|
||||
background-image: url(chrome://editor/content/images/yell_n.gif);
|
||||
}
|
||||
|
||||
span.moz-smiley-s11 {
|
||||
background-image: url(chrome://editor/content/images/cool_n.gif);
|
||||
}
|
||||
|
||||
span.moz-smiley-s12 {
|
||||
background-image: url(chrome://editor/content/images/money_n.gif);
|
||||
}
|
||||
|
||||
span.moz-smiley-s13 {
|
||||
background-image: url(chrome://editor/content/images/foot_n.gif);
|
||||
}
|
||||
|
||||
span.moz-smiley-s14 {
|
||||
background-image: url(chrome://editor/content/images/innocent_n.gif);
|
||||
}
|
||||
|
||||
span.moz-smiley-s15 {
|
||||
background-image: url(chrome://editor/content/images/cry_n.gif);
|
||||
}
|
||||
|
||||
span.moz-smiley-s16 {
|
||||
background-image: url(chrome://editor/content/images/sealed_n.gif);
|
||||
}
|
||||
|
||||
|
||||
img {
|
||||
-moz-force-broken-image-icon: 1;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 71 KiB |
@@ -1,106 +0,0 @@
|
||||
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
|
||||
|
||||
# ***** 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 Mozilla Thunderbird about dialog.
|
||||
#
|
||||
# The Initial Developer of the Original Code is
|
||||
# Blake Ross (blaker@netscape.com).
|
||||
# Portions created by the Initial Developer are Copyright (C) 2002
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
# 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 LGPL or the GPL. 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 ***** -->
|
||||
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://editor/skin/aboutDialog.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
%brandDTD;
|
||||
<!ENTITY % aboutDialogDTD SYSTEM "chrome://editor/locale/aboutDialog.dtd" >
|
||||
%aboutDialogDTD;
|
||||
]>
|
||||
|
||||
<dialog xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
id="aboutDialog"
|
||||
buttons="accept"
|
||||
onload="onLoad();"
|
||||
title="&aboutDialog.title;"
|
||||
style="width: 300px; height: 16.3em;">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
function onLoad() {
|
||||
var versionField = document.getElementById("versionField");
|
||||
var hidversionField = document.getElementById("hidversionField");
|
||||
var brandShortNameEl = document.getElementById("brandShortName");
|
||||
hidversionField.value = brandShortNameEl.firstChild.nodeValue + ' ' + navigator.vendorSub + ' (' + navigator.productSub + ')';
|
||||
versionField.value = hidversionField.value;
|
||||
versionField.width = hidversionField.width;
|
||||
}
|
||||
|
||||
function loadExternalLink() {
|
||||
try {
|
||||
var messenger = Components.classes["@mozilla.org/messenger;1"].createInstance();
|
||||
messenger = messenger.QueryInterface(Components.interfaces.nsIMessenger);
|
||||
messenger.launchExternalURL(document.getElementById('copyrightLink').getAttribute("href"));
|
||||
} catch (ex) {}
|
||||
|
||||
// return false, so we don't load the href in the about dialog
|
||||
return false;
|
||||
}
|
||||
]]>
|
||||
</script>
|
||||
|
||||
<vbox flex="1" id="clientBox">
|
||||
<image src="chrome://editor/content/about-composer.png"/>
|
||||
|
||||
<vbox id="detailsBox" align="center" flex="1">
|
||||
<separator class="thin"/>
|
||||
|
||||
<hbox>
|
||||
<vbox>
|
||||
<label id="hidversionField" style="padding: 0px; visibility: hidden; font-weight: bold;"/>
|
||||
<textbox id="versionField" readonly="true" class="plain" style="padding-left: 6px !important;" tabindex="2"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
|
||||
<separator class="thin"/>
|
||||
|
||||
<html:a id="copyrightLink" onclick="return loadExternalLink();" href="©rightLink;" style="display: block; color: blue; text-decoration: underline;" tabindex="3">©right;</html:a>
|
||||
</vbox>
|
||||
</vbox>
|
||||
|
||||
<separator class="groove" id="groove"/>
|
||||
|
||||
<!-- Localizable strings (from .dtd) -->
|
||||
<strings style="display:none;">
|
||||
<string id="brandShortName">&brandShortName;</string>
|
||||
</strings>
|
||||
</dialog>
|
||||
@@ -1,151 +0,0 @@
|
||||
/* ***** 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 Mozilla.org.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Daniel Glazman.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2003
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
* 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 ***** */
|
||||
|
||||
// this function contains all the script to be copied into the document
|
||||
function innerCalendarCode()
|
||||
{
|
||||
function montharr(m0, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11)
|
||||
{
|
||||
this[0] = m0;
|
||||
this[1] = m1;
|
||||
this[2] = m2;
|
||||
this[3] = m3;
|
||||
this[4] = m4;
|
||||
this[5] = m5;
|
||||
this[6] = m6;
|
||||
this[7] = m7;
|
||||
this[8] = m8;
|
||||
this[9] = m9;
|
||||
this[10] = m10;
|
||||
this[11] = m11;
|
||||
}
|
||||
|
||||
function calendar()
|
||||
{
|
||||
var monthNames = "JanFebMarAprMayJunJulAugSepOctNovDec";
|
||||
var today = new Date();
|
||||
var thisDay;
|
||||
var monthDays = new montharr(31, 28, 31, 30, 31, 30, 31, 31, 30,
|
||||
31, 30, 31);
|
||||
|
||||
year = today.getYear();
|
||||
if (year <= 200)
|
||||
year += 1900;
|
||||
thisDay = today.getDate();
|
||||
|
||||
|
||||
if (((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0))
|
||||
monthDays[1] = 29;
|
||||
|
||||
|
||||
nDays = monthDays[today.getMonth()];
|
||||
|
||||
|
||||
firstDay = today;
|
||||
firstDay.setDate(1); // works fine for most systems
|
||||
testMe = firstDay.getDate();
|
||||
if (testMe == 2)
|
||||
firstDay.setDate(0);
|
||||
|
||||
startDay = firstDay.getDay();
|
||||
|
||||
document.writeln("<CENTER>");
|
||||
document.write("<TABLE BORDER='1' BGCOLOR=White>");
|
||||
document.write("<TR><TH COLSPAN=7>");
|
||||
document.write(monthNames.substring(today.getMonth() * 3,
|
||||
(today.getMonth() + 1) * 3));
|
||||
document.write(". ");
|
||||
document.write(year);
|
||||
|
||||
document.write("<TR><TH>Sun<TH>Mon<TH>Tue<TH>Wed<TH>Thu<TH>Fri<TH>Sat");
|
||||
|
||||
|
||||
document.write("<TR>");
|
||||
column = 0;
|
||||
for (i=0; i<startDay; i++)
|
||||
{
|
||||
document.write("<TD>");
|
||||
column++;
|
||||
}
|
||||
|
||||
for (i=1; i<=nDays; i++)
|
||||
{
|
||||
document.write("<TD>");
|
||||
if (i == thisDay)
|
||||
document.write("<FONT COLOR=\"#FF0000\">")
|
||||
document.write(i);
|
||||
if (i == thisDay)
|
||||
document.write("</FONT>")
|
||||
column++;
|
||||
if (column == 7)
|
||||
{
|
||||
document.write("<TR>");
|
||||
column = 0;
|
||||
}
|
||||
}
|
||||
document.write("</TABLE>");
|
||||
document.writeln("</CENTER>");
|
||||
}
|
||||
|
||||
calendar();
|
||||
}
|
||||
|
||||
|
||||
function addCalendarSmartWidget()
|
||||
{
|
||||
var bodyElt = GetBodyElement();
|
||||
var doc = GetCurrentEditor().document;
|
||||
|
||||
var enclosingDiv = doc.createElement("div");
|
||||
|
||||
var innerScript = doc.createElement("script");
|
||||
var innerScriptCdata = doc.createTextNode(innerCalendarCode.toString() +
|
||||
"\n\n innerCalendarCode();");
|
||||
innerScript.appendChild(innerScriptCdata);
|
||||
|
||||
var noScript = doc.createElement("noscript");
|
||||
var innerNoScriptImage = doc.createElement("img");
|
||||
innerNoScriptImage.setAttribute("src", "chrome://editor/content/images/calendarSW.gif");
|
||||
noScript.appendChild(innerNoScriptImage);
|
||||
|
||||
enclosingDiv.appendChild(noScript);
|
||||
enclosingDiv.appendChild(innerScript);
|
||||
|
||||
bodyElt.appendChild(enclosingDiv);
|
||||
enclosingDiv.setAttribute("style",
|
||||
"position: absolute;" +
|
||||
"top: " + (window.scrollX + 50) + "px;" +
|
||||
"left: " + (window.scrollY + 50) + "px;");
|
||||
}
|
||||
@@ -1,937 +0,0 @@
|
||||
# ***** 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 Mozilla.org
|
||||
#
|
||||
# The Initial Developer of the Original Code is
|
||||
# David Hyatt.
|
||||
# Portions created by the Initial Developer are Copyright (C) 2002
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
# David Hyatt (hyatt@apple.com)
|
||||
# Blake Ross (blaker@netscape.com)
|
||||
# Joe Hewitt (hewitt@netscape.com)
|
||||
# Daniel Glazman (daniel@glazman.org), on behalf of Lindows.com
|
||||
#
|
||||
# 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 *****
|
||||
|
||||
const kRowMax = 4;
|
||||
const kWindowWidth = 600;
|
||||
const kWindowHeight = 400;
|
||||
const kAnimateIncrement = 50;
|
||||
const kAnimateSteps = kWindowHeight / kAnimateIncrement - 1;
|
||||
|
||||
var gToolboxDocument = null;
|
||||
var gToolbox = null;
|
||||
var gCurrentDragOverItem = null;
|
||||
var gToolboxChanged = false;
|
||||
|
||||
function onLoad()
|
||||
{
|
||||
gToolbox = window.arguments[0];
|
||||
gToolboxDocument = gToolbox.ownerDocument;
|
||||
|
||||
gToolbox.addEventListener("draggesture", onToolbarDragGesture, false);
|
||||
gToolbox.addEventListener("dragover", onToolbarDragOver, false);
|
||||
gToolbox.addEventListener("dragexit", onToolbarDragExit, false);
|
||||
gToolbox.addEventListener("dragdrop", onToolbarDragDrop, false);
|
||||
|
||||
document.documentElement.setAttribute("hidechrome", "true");
|
||||
|
||||
repositionDialog();
|
||||
window.outerWidth = kWindowWidth;
|
||||
window.outerHeight = 50;
|
||||
slideOpen(0);
|
||||
}
|
||||
|
||||
function onUnload(aEvent)
|
||||
{
|
||||
removeToolboxListeners();
|
||||
unwrapToolbarItems();
|
||||
persistCurrentSets();
|
||||
|
||||
notifyParentComplete();
|
||||
}
|
||||
|
||||
function onAccept(aEvent)
|
||||
{
|
||||
document.getElementById("main-box").collapsed = true;
|
||||
slideClosed(0);
|
||||
}
|
||||
|
||||
function initDialog()
|
||||
{
|
||||
document.getElementById("main-box").collapsed = false;
|
||||
|
||||
var mode = gToolbox.getAttribute("mode");
|
||||
document.getElementById("modelist").value = mode;
|
||||
var iconSize = gToolbox.getAttribute("iconsize");
|
||||
var smallIconsCheckbox = document.getElementById("smallicons");
|
||||
if (smallIconsCheckbox)
|
||||
{
|
||||
if ( mode == "text")
|
||||
smallIconsCheckbox.disabled = true;
|
||||
else
|
||||
smallIconsCheckbox.checked = iconSize == "small";
|
||||
}
|
||||
|
||||
// Build up the palette of other items.
|
||||
buildPalette();
|
||||
|
||||
// Wrap all the items on the toolbar in toolbarpaletteitems.
|
||||
wrapToolbarItems();
|
||||
}
|
||||
|
||||
function slideOpen(aStep)
|
||||
{
|
||||
if (aStep < kAnimateSteps) {
|
||||
window.outerHeight += kAnimateIncrement;
|
||||
setTimeout(slideOpen, 20, ++aStep);
|
||||
} else {
|
||||
initDialog();
|
||||
}
|
||||
}
|
||||
|
||||
function slideClosed(aStep)
|
||||
{
|
||||
if (aStep < kAnimateSteps) {
|
||||
window.outerHeight -= kAnimateIncrement;
|
||||
setTimeout(slideClosed, 10, ++aStep);
|
||||
} else {
|
||||
window.close();
|
||||
}
|
||||
}
|
||||
|
||||
function repositionDialog()
|
||||
{
|
||||
// Position the dialog touching the bottom of the toolbox and centered with it
|
||||
var screenX = gToolbox.boxObject.screenX + ((gToolbox.boxObject.width - kWindowWidth) / 2);
|
||||
var screenY = gToolbox.boxObject.screenY + gToolbox.boxObject.height;
|
||||
window.moveTo(screenX, screenY);
|
||||
}
|
||||
|
||||
function removeToolboxListeners()
|
||||
{
|
||||
gToolbox.removeEventListener("draggesture", onToolbarDragGesture, false);
|
||||
gToolbox.removeEventListener("dragover", onToolbarDragOver, false);
|
||||
gToolbox.removeEventListener("dragexit", onToolbarDragExit, false);
|
||||
gToolbox.removeEventListener("dragdrop", onToolbarDragDrop, false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoke a callback on the toolbox to notify it that the dialog is done
|
||||
* and going away.
|
||||
*/
|
||||
function notifyParentComplete()
|
||||
{
|
||||
if ("customizeDone" in gToolbox)
|
||||
gToolbox.customizeDone(gToolboxChanged);
|
||||
}
|
||||
|
||||
function getToolbarAt(i)
|
||||
{
|
||||
return gToolbox.childNodes[i];
|
||||
}
|
||||
|
||||
/**
|
||||
* Persist the current set of buttons in all customizable toolbars to
|
||||
* localstore.
|
||||
*/
|
||||
function persistCurrentSets()
|
||||
{
|
||||
if (!gToolboxChanged)
|
||||
return;
|
||||
|
||||
var customCount = 0;
|
||||
for (var i = 0; i < gToolbox.childNodes.length; ++i) {
|
||||
// Look for customizable toolbars that need to be persisted.
|
||||
var toolbar = getToolbarAt(i);
|
||||
if (isCustomizableToolbar(toolbar)) {
|
||||
// Calculate currentset and store it in the attribute.
|
||||
var currentSet = toolbar.currentSet;
|
||||
toolbar.setAttribute("currentset", currentSet);
|
||||
|
||||
var customIndex = toolbar.hasAttribute("customindex");
|
||||
if (customIndex) {
|
||||
if (!toolbar.firstChild) {
|
||||
// Remove custom toolbars whose contents have been removed.
|
||||
gToolbox.removeChild(toolbar);
|
||||
--i;
|
||||
} else {
|
||||
// Persist custom toolbar info on the <toolbarset/>
|
||||
gToolbox.toolbarset.setAttribute("toolbar"+(++customCount),
|
||||
toolbar.toolbarName + ":" + currentSet);
|
||||
gToolboxDocument.persist(gToolbox.toolbarset.id, "toolbar"+customCount);
|
||||
}
|
||||
}
|
||||
|
||||
if (!customIndex) {
|
||||
// Persist the currentset attribute directly on hardcoded toolbars.
|
||||
gToolboxDocument.persist(toolbar.id, "currentset");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Remove toolbarX attributes for removed toolbars.
|
||||
while (gToolbox.toolbarset.hasAttribute("toolbar"+(++customCount))) {
|
||||
gToolbox.toolbarset.removeAttribute("toolbar"+customCount);
|
||||
gToolboxDocument.persist(gToolbox.toolbarset.id, "toolbar"+customCount);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Wraps all items in all customizable toolbars in a toolbox.
|
||||
*/
|
||||
function wrapToolbarItems()
|
||||
{
|
||||
for (var i = 0; i < gToolbox.childNodes.length; ++i) {
|
||||
var toolbar = getToolbarAt(i);
|
||||
if (isCustomizableToolbar(toolbar)) {
|
||||
for (var k = 0; k < toolbar.childNodes.length; ++k) {
|
||||
var item = toolbar.childNodes[k];
|
||||
if (isToolbarItem(item)) {
|
||||
var nextSibling = item.nextSibling;
|
||||
|
||||
var wrapper = wrapToolbarItem(item);
|
||||
if (nextSibling)
|
||||
toolbar.insertBefore(wrapper, nextSibling);
|
||||
else
|
||||
toolbar.appendChild(wrapper);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Unwraps all items in all customizable toolbars in a toolbox.
|
||||
*/
|
||||
function unwrapToolbarItems()
|
||||
{
|
||||
for (var i = 0; i < gToolbox.childNodes.length; ++i) {
|
||||
var toolbar = getToolbarAt(i);
|
||||
if (isCustomizableToolbar(toolbar)) {
|
||||
for (var k = 0; k < toolbar.childNodes.length; ++k) {
|
||||
var paletteItem = toolbar.childNodes[k];
|
||||
var toolbarItem = paletteItem.firstChild;
|
||||
|
||||
if (isToolbarItem(toolbarItem)) {
|
||||
var nextSibling = paletteItem.nextSibling;
|
||||
|
||||
if (paletteItem.hasAttribute("itemcommand"))
|
||||
toolbarItem.setAttribute("command", paletteItem.getAttribute("itemcommand"));
|
||||
if (paletteItem.hasAttribute("itemobserves"))
|
||||
toolbarItem.setAttribute("observes", paletteItem.getAttribute("itemobserves"));
|
||||
|
||||
paletteItem.removeChild(toolbarItem);
|
||||
paletteItem.parentNode.removeChild(paletteItem);
|
||||
|
||||
if (nextSibling)
|
||||
toolbar.insertBefore(toolbarItem, nextSibling);
|
||||
else
|
||||
toolbar.appendChild(toolbarItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Creates a wrapper that can be used to contain a toolbaritem and prevent
|
||||
* it from receiving UI events.
|
||||
*/
|
||||
function createWrapper(aId)
|
||||
{
|
||||
var wrapper = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
|
||||
"toolbarpaletteitem");
|
||||
|
||||
wrapper.id = "wrapper-"+aId;
|
||||
return wrapper;
|
||||
}
|
||||
|
||||
/**
|
||||
* Wraps an item that has been cloned from a template and adds
|
||||
* it to the end of a row in the palette.
|
||||
*/
|
||||
function wrapPaletteItem(aPaletteItem, aCurrentRow, aSpacer)
|
||||
{
|
||||
var wrapper = createWrapper(aPaletteItem.id);
|
||||
|
||||
wrapper.setAttribute("flex", 1);
|
||||
wrapper.setAttribute("align", "center");
|
||||
wrapper.setAttribute("pack", "center");
|
||||
wrapper.setAttribute("minheight", "0");
|
||||
wrapper.setAttribute("minwidth", "0");
|
||||
|
||||
wrapper.appendChild(aPaletteItem);
|
||||
|
||||
// XXX We need to call this AFTER the palette item has been appended
|
||||
// to the wrapper or else we crash dropping certain buttons on the
|
||||
// palette due to removal of the command and disabled attributes - JRH
|
||||
cleanUpItemForPalette(aPaletteItem, wrapper);
|
||||
|
||||
if (aSpacer)
|
||||
aCurrentRow.insertBefore(wrapper, aSpacer);
|
||||
else
|
||||
aCurrentRow.appendChild(wrapper);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Wraps an item that is currently on a toolbar and replaces the item
|
||||
* with the wrapper. This is not used when dropping items from the palette,
|
||||
* only when first starting the dialog and wrapping everything on the toolbars.
|
||||
*/
|
||||
function wrapToolbarItem(aToolbarItem)
|
||||
{
|
||||
var wrapper = createWrapper(aToolbarItem.id);
|
||||
|
||||
cleanupItemForToolbar(aToolbarItem, wrapper);
|
||||
wrapper.flex = aToolbarItem.flex;
|
||||
|
||||
if (aToolbarItem.parentNode)
|
||||
aToolbarItem.parentNode.removeChild(aToolbarItem);
|
||||
|
||||
wrapper.appendChild(aToolbarItem);
|
||||
|
||||
return wrapper;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the list of ids for the current set of items on each toolbar.
|
||||
*/
|
||||
function getCurrentItemIds()
|
||||
{
|
||||
var currentItems = {};
|
||||
for (var i = 0; i < gToolbox.childNodes.length; ++i) {
|
||||
var toolbar = getToolbarAt(i);
|
||||
if (isCustomizableToolbar(toolbar)) {
|
||||
var child = toolbar.firstChild;
|
||||
while (child) {
|
||||
if (isToolbarItem(child))
|
||||
currentItems[child.id] = 1;
|
||||
child = child.nextSibling;
|
||||
}
|
||||
}
|
||||
}
|
||||
return currentItems;
|
||||
}
|
||||
|
||||
/**
|
||||
* Builds the palette of draggable items that are not yet in a toolbar.
|
||||
*/
|
||||
function buildPalette()
|
||||
{
|
||||
// Empty the palette first.
|
||||
var paletteBox = document.getElementById("palette-box");
|
||||
while (paletteBox.lastChild)
|
||||
paletteBox.removeChild(paletteBox.lastChild);
|
||||
|
||||
var currentRow = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
|
||||
"hbox");
|
||||
currentRow.setAttribute("class", "paletteRow");
|
||||
|
||||
// Add the toolbar separator item.
|
||||
var templateNode = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
|
||||
"toolbarseparator");
|
||||
templateNode.id = "separator";
|
||||
wrapPaletteItem(templateNode, currentRow, null);
|
||||
|
||||
// Add the toolbar spring item.
|
||||
templateNode = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
|
||||
"toolbarspring");
|
||||
templateNode.id = "spring";
|
||||
templateNode.flex = 1;
|
||||
wrapPaletteItem(templateNode, currentRow, null);
|
||||
|
||||
// Add the toolbar spacer item.
|
||||
templateNode = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
|
||||
"toolbarspacer");
|
||||
templateNode.id = "spacer";
|
||||
templateNode.flex = 1;
|
||||
wrapPaletteItem(templateNode, currentRow, null);
|
||||
|
||||
var rowSlot = 3;
|
||||
|
||||
var currentItems = getCurrentItemIds();
|
||||
templateNode = gToolbox.palette.firstChild;
|
||||
while (templateNode) {
|
||||
// Check if the item is already in a toolbar before adding it to the palette.
|
||||
if (!(templateNode.id in currentItems)) {
|
||||
var paletteItem = templateNode.cloneNode(true);
|
||||
|
||||
if (rowSlot == kRowMax) {
|
||||
// Append the old row.
|
||||
paletteBox.appendChild(currentRow);
|
||||
|
||||
// Make a new row.
|
||||
currentRow = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
|
||||
"hbox");
|
||||
currentRow.setAttribute("class", "paletteRow");
|
||||
rowSlot = 0;
|
||||
}
|
||||
|
||||
++rowSlot;
|
||||
wrapPaletteItem(paletteItem, currentRow, null);
|
||||
}
|
||||
|
||||
templateNode = templateNode.nextSibling;
|
||||
}
|
||||
|
||||
if (currentRow) {
|
||||
fillRowWithFlex(currentRow);
|
||||
paletteBox.appendChild(currentRow);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new palette item for a cloned template node and
|
||||
* adds it to the last slot in the palette.
|
||||
*/
|
||||
function appendPaletteItem(aItem)
|
||||
{
|
||||
var paletteBox = document.getElementById("palette-box");
|
||||
var lastRow = paletteBox.lastChild;
|
||||
var lastSpacer = lastRow.lastChild;
|
||||
|
||||
if (lastSpacer.localName != "spacer") {
|
||||
// The current row is full, so we have to create a new row.
|
||||
lastRow = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
|
||||
"hbox");
|
||||
lastRow.setAttribute("class", "paletteRow");
|
||||
paletteBox.appendChild(lastRow);
|
||||
|
||||
wrapPaletteItem(aItem, lastRow, null);
|
||||
|
||||
fillRowWithFlex(lastRow);
|
||||
} else {
|
||||
// Decrement the flex of the last spacer or remove it entirely.
|
||||
var flex = lastSpacer.getAttribute("flex");
|
||||
if (flex == 1) {
|
||||
lastRow.removeChild(lastSpacer);
|
||||
lastSpacer = null;
|
||||
} else
|
||||
lastSpacer.setAttribute("flex", --flex);
|
||||
|
||||
// Insert the wrapper where the last spacer was.
|
||||
wrapPaletteItem(aItem, lastRow, lastSpacer);
|
||||
}
|
||||
}
|
||||
|
||||
function fillRowWithFlex(aRow)
|
||||
{
|
||||
var remainingFlex = kRowMax - aRow.childNodes.length;
|
||||
if (remainingFlex > 0) {
|
||||
var spacer = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
|
||||
"spacer");
|
||||
spacer.setAttribute("flex", remainingFlex);
|
||||
aRow.appendChild(spacer);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Makes sure that an item that has been cloned from a template
|
||||
* is stripped of all properties that may adversely affect it's
|
||||
* appearance in the palette.
|
||||
*/
|
||||
function cleanUpItemForPalette(aItem, aWrapper)
|
||||
{
|
||||
aWrapper.setAttribute("place", "palette");
|
||||
setWrapperType(aItem, aWrapper);
|
||||
|
||||
if (aItem.hasAttribute("title"))
|
||||
aWrapper.setAttribute("title", aItem.getAttribute("title"));
|
||||
else if (isSpecialItem(aItem)) {
|
||||
var stringBundle = document.getElementById("stringBundle");
|
||||
var title = stringBundle.getString(aItem.id + "Title");
|
||||
aWrapper.setAttribute("title", title);
|
||||
}
|
||||
|
||||
// Remove attributes that screw up our appearance.
|
||||
aItem.removeAttribute("command");
|
||||
aItem.removeAttribute("observes");
|
||||
aItem.removeAttribute("disabled");
|
||||
aItem.removeAttribute("type");
|
||||
|
||||
if (aItem.localName == "toolbaritem" && aItem.firstChild) {
|
||||
aItem.firstChild.removeAttribute("observes");
|
||||
|
||||
// So the throbber doesn't throb in the dialog,
|
||||
// cute as that may be...
|
||||
aItem.firstChild.removeAttribute("busy");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Makes sure that an item that has been cloned from a template
|
||||
* is stripped of all properties that may adversely affect it's
|
||||
* appearance in the toolbar. Store critical properties on the
|
||||
* wrapper so they can be put back on the item when we're done.
|
||||
*/
|
||||
function cleanupItemForToolbar(aItem, aWrapper)
|
||||
{
|
||||
setWrapperType(aItem, aWrapper);
|
||||
aWrapper.setAttribute("place", "toolbar");
|
||||
|
||||
if (aItem.hasAttribute("command")) {
|
||||
aWrapper.setAttribute("itemcommand", aItem.getAttribute("command"));
|
||||
aItem.removeAttribute("command");
|
||||
}
|
||||
|
||||
if (aItem.hasAttribute("observes"))
|
||||
{
|
||||
aWrapper.setAttribute("itemobserves", aItem.getAttribute("observes"));
|
||||
aItem.removeAttribute("observes");
|
||||
}
|
||||
|
||||
if (aItem.disabled) {
|
||||
aWrapper.setAttribute("itemdisabled", "true");
|
||||
aItem.disabled = false;
|
||||
}
|
||||
}
|
||||
|
||||
function setWrapperType(aItem, aWrapper)
|
||||
{
|
||||
if (aItem.localName == "toolbarseparator") {
|
||||
aWrapper.setAttribute("type", "separator");
|
||||
} else if (aItem.localName == "toolbarspring") {
|
||||
aWrapper.setAttribute("type", "spring");
|
||||
} else if (aItem.localName == "toolbarspacer") {
|
||||
aWrapper.setAttribute("type", "spacer");
|
||||
} else if (aItem.localName == "toolbaritem" && aItem.firstChild) {
|
||||
aWrapper.setAttribute("type", aItem.firstChild.localName);
|
||||
}
|
||||
}
|
||||
|
||||
function setDragActive(aItem, aValue)
|
||||
{
|
||||
var node = aItem;
|
||||
var value = "left";
|
||||
if (aItem.localName == "toolbar") {
|
||||
node = aItem.lastChild;
|
||||
value = "right";
|
||||
}
|
||||
|
||||
if (!node)
|
||||
return;
|
||||
|
||||
if (aValue) {
|
||||
if (!node.hasAttribute("dragover"))
|
||||
node.setAttribute("dragover", value);
|
||||
} else {
|
||||
node.removeAttribute("dragover");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Restore the default set of buttons to fixed toolbars,
|
||||
* remove all custom toolbars, and rebuild the palette.
|
||||
*/
|
||||
function restoreDefaultSet()
|
||||
{
|
||||
// Restore the defaultset for fixed toolbars.
|
||||
var toolbar = gToolbox.firstChild;
|
||||
while (toolbar) {
|
||||
if (isCustomizableToolbar(toolbar)) {
|
||||
if (!toolbar.hasAttribute("customindex")) {
|
||||
var defaultSet = toolbar.getAttribute("defaultset");
|
||||
if (defaultSet)
|
||||
{
|
||||
toolbar.currentSet = defaultSet;
|
||||
}
|
||||
}
|
||||
}
|
||||
toolbar = toolbar.nextSibling;
|
||||
}
|
||||
|
||||
// Remove all of the customized toolbars.
|
||||
var child = gToolbox.lastChild;
|
||||
while (child) {
|
||||
if (child.hasAttribute("customindex")) {
|
||||
var thisChild = child;
|
||||
child = child.previousSibling;
|
||||
gToolbox.removeChild(thisChild);
|
||||
} else {
|
||||
child = child.previousSibling;
|
||||
}
|
||||
}
|
||||
|
||||
// Now rebuild the palette.
|
||||
buildPalette();
|
||||
|
||||
// Now re-wrap the items on the toolbar.
|
||||
wrapToolbarItems();
|
||||
|
||||
repositionDialog();
|
||||
gToolboxChanged = true;
|
||||
}
|
||||
|
||||
function updateIconSize(aUseSmallIcons)
|
||||
{
|
||||
var val = aUseSmallIcons ? "small" : null;
|
||||
|
||||
setAttribute(gToolbox, "iconsize", val);
|
||||
gToolboxDocument.persist(gToolbox.id, "iconsize");
|
||||
|
||||
for (var i = 0; i < gToolbox.childNodes.length; ++i) {
|
||||
var toolbar = getToolbarAt(i);
|
||||
if (isCustomizableToolbar(toolbar)) {
|
||||
setAttribute(toolbar, "iconsize", val);
|
||||
gToolboxDocument.persist(toolbar.id, "iconsize");
|
||||
}
|
||||
}
|
||||
|
||||
repositionDialog();
|
||||
}
|
||||
|
||||
function updateToolbarMode(aModeValue)
|
||||
{
|
||||
setAttribute(gToolbox, "mode", aModeValue);
|
||||
gToolboxDocument.persist(gToolbox.id, "mode");
|
||||
|
||||
for (var i = 0; i < gToolbox.childNodes.length; ++i) {
|
||||
var toolbar = getToolbarAt(i);
|
||||
if (isCustomizableToolbar(toolbar)) {
|
||||
setAttribute(toolbar, "mode", aModeValue);
|
||||
gToolboxDocument.persist(toolbar.id, "mode");
|
||||
}
|
||||
}
|
||||
|
||||
var iconSizeCheckbox = document.getElementById("smallicons");
|
||||
if (iconSizeCheckbox)
|
||||
{
|
||||
if (aModeValue == "text") {
|
||||
iconSizeCheckbox.disabled = true;
|
||||
iconSizeCheckbox.checked = false;
|
||||
updateIconSize(false);
|
||||
}
|
||||
else {
|
||||
iconSizeCheckbox.disabled = false;
|
||||
}
|
||||
}
|
||||
|
||||
repositionDialog();
|
||||
}
|
||||
|
||||
|
||||
function setAttribute(aElt, aAttr, aVal)
|
||||
{
|
||||
if (aVal)
|
||||
aElt.setAttribute(aAttr, aVal);
|
||||
else
|
||||
aElt.removeAttribute(aAttr);
|
||||
}
|
||||
|
||||
function isCustomizableToolbar(aElt)
|
||||
{
|
||||
return aElt.localName == "toolbar" &&
|
||||
aElt.getAttribute("customizable") == "true";
|
||||
}
|
||||
|
||||
function isSpecialItem(aElt)
|
||||
{
|
||||
return aElt.localName == "toolbarseparator" ||
|
||||
aElt.localName == "toolbarspring" ||
|
||||
aElt.localName == "toolbarspacer";
|
||||
}
|
||||
|
||||
function isToolbarItem(aElt)
|
||||
{
|
||||
return aElt.localName == "toolbarbutton" ||
|
||||
aElt.localName == "toolbaritem" ||
|
||||
aElt.localName == "toolbarseparator" ||
|
||||
aElt.localName == "toolbarspring" ||
|
||||
aElt.localName == "toolbarspacer";
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
//// Drag and Drop observers
|
||||
|
||||
function onToolbarDragGesture(aEvent)
|
||||
{
|
||||
nsDragAndDrop.startDrag(aEvent, dragStartObserver);
|
||||
}
|
||||
|
||||
function onToolbarDragOver(aEvent)
|
||||
{
|
||||
nsDragAndDrop.dragOver(aEvent, toolbarDNDObserver);
|
||||
}
|
||||
|
||||
function onToolbarDragDrop(aEvent)
|
||||
{
|
||||
nsDragAndDrop.drop(aEvent, toolbarDNDObserver);
|
||||
}
|
||||
|
||||
function onToolbarDragExit(aEvent)
|
||||
{
|
||||
if (gCurrentDragOverItem)
|
||||
setDragActive(gCurrentDragOverItem, false);
|
||||
}
|
||||
|
||||
var dragStartObserver =
|
||||
{
|
||||
onDragStart: function (aEvent, aXferData, aDragAction) {
|
||||
var documentId = gToolboxDocument.documentElement.id;
|
||||
|
||||
var item = aEvent.target;
|
||||
while (item && item.localName != "toolbarpaletteitem")
|
||||
item = item.parentNode;
|
||||
|
||||
item.setAttribute("dragactive", "true");
|
||||
|
||||
aXferData.data = new TransferDataSet();
|
||||
var data = new TransferData();
|
||||
data.addDataForFlavour("text/toolbarwrapper-id/"+documentId, item.firstChild.id);
|
||||
aXferData.data.push(data);
|
||||
}
|
||||
}
|
||||
|
||||
var toolbarDNDObserver =
|
||||
{
|
||||
onDragOver: function (aEvent, aFlavour, aDragSession)
|
||||
{
|
||||
var toolbar = aEvent.target;
|
||||
var dropTarget = aEvent.target;
|
||||
while (toolbar && toolbar.localName != "toolbar") {
|
||||
dropTarget = toolbar;
|
||||
toolbar = toolbar.parentNode;
|
||||
}
|
||||
|
||||
var previousDragItem = gCurrentDragOverItem;
|
||||
|
||||
// Make sure we are dragging over a customizable toolbar.
|
||||
if (!isCustomizableToolbar(toolbar)) {
|
||||
gCurrentDragOverItem = null;
|
||||
return;
|
||||
}
|
||||
|
||||
if (dropTarget.localName == "toolbar") {
|
||||
gCurrentDragOverItem = dropTarget;
|
||||
} else {
|
||||
var dropTargetWidth = dropTarget.boxObject.width;
|
||||
var dropTargetX = dropTarget.boxObject.x;
|
||||
|
||||
gCurrentDragOverItem = null;
|
||||
if (aEvent.clientX > (dropTargetX + (dropTargetWidth / 2))) {
|
||||
gCurrentDragOverItem = dropTarget.nextSibling;
|
||||
if (!gCurrentDragOverItem)
|
||||
gCurrentDragOverItem = toolbar;
|
||||
} else
|
||||
gCurrentDragOverItem = dropTarget;
|
||||
}
|
||||
|
||||
if (previousDragItem && gCurrentDragOverItem != previousDragItem) {
|
||||
setDragActive(previousDragItem, false);
|
||||
}
|
||||
|
||||
setDragActive(gCurrentDragOverItem, true);
|
||||
|
||||
aDragSession.canDrop = true;
|
||||
},
|
||||
|
||||
onDrop: function (aEvent, aXferData, aDragSession)
|
||||
{
|
||||
if (!gCurrentDragOverItem)
|
||||
return;
|
||||
|
||||
setDragActive(gCurrentDragOverItem, false);
|
||||
|
||||
var draggedItemId = aXferData.data;
|
||||
if (gCurrentDragOverItem.id == draggedItemId)
|
||||
return;
|
||||
|
||||
var toolbar = aEvent.target;
|
||||
while (toolbar.localName != "toolbar")
|
||||
toolbar = toolbar.parentNode;
|
||||
|
||||
var draggedPaletteWrapper = document.getElementById("wrapper-"+draggedItemId);
|
||||
if (!draggedPaletteWrapper) {
|
||||
// The wrapper has been dragged from the toolbar.
|
||||
|
||||
// Get the wrapper from the toolbar document and make sure that
|
||||
// it isn't being dropped on itself.
|
||||
var wrapper = gToolboxDocument.getElementById("wrapper-"+draggedItemId);
|
||||
if (wrapper == gCurrentDragOverItem)
|
||||
return;
|
||||
|
||||
// Don't allow static kids (e.g., the menubar) to move.
|
||||
if (wrapper.parentNode.firstPermanentChild && wrapper.parentNode.firstPermanentChild.id == wrapper.firstChild.id)
|
||||
return;
|
||||
if (wrapper.parentNode.lastPermanentChild && wrapper.parentNode.lastPermanentChild.id == wrapper.firstChild.id)
|
||||
return;
|
||||
|
||||
// Remove the item from it's place in the toolbar.
|
||||
wrapper.parentNode.removeChild(wrapper);
|
||||
|
||||
// Determine which toolbar we are dropping on.
|
||||
var dropToolbar = null;
|
||||
if (gCurrentDragOverItem.localName == "toolbar")
|
||||
dropToolbar = gCurrentDragOverItem;
|
||||
else
|
||||
dropToolbar = gCurrentDragOverItem.parentNode;
|
||||
|
||||
// Insert the item into the toolbar.
|
||||
if (gCurrentDragOverItem != dropToolbar)
|
||||
dropToolbar.insertBefore(wrapper, gCurrentDragOverItem);
|
||||
else
|
||||
dropToolbar.appendChild(wrapper);
|
||||
} else {
|
||||
// The item has been dragged from the palette
|
||||
|
||||
// Create a new wrapper for the item. We don't know the id yet.
|
||||
var wrapper = createWrapper("");
|
||||
|
||||
// Ask the toolbar to clone the item's template, place it inside the wrapper, and insert it in the toolbar.
|
||||
var newItem = toolbar.insertItem(draggedItemId, gCurrentDragOverItem == toolbar ? null : gCurrentDragOverItem, wrapper);
|
||||
|
||||
// Prepare the item and wrapper to look good on the toolbar.
|
||||
cleanupItemForToolbar(newItem, wrapper);
|
||||
wrapper.id = "wrapper-"+newItem.id;
|
||||
wrapper.flex = newItem.flex;
|
||||
|
||||
// Remove the wrapper from the palette.
|
||||
var currentRow = draggedPaletteWrapper.parentNode;
|
||||
if (draggedItemId != "separator" &&
|
||||
draggedItemId != "spring" &&
|
||||
draggedItemId != "spacer")
|
||||
{
|
||||
currentRow.removeChild(draggedPaletteWrapper);
|
||||
|
||||
while (currentRow) {
|
||||
// Pull the first child of the next row up
|
||||
// into this row.
|
||||
var nextRow = currentRow.nextSibling;
|
||||
|
||||
if (!nextRow) {
|
||||
var last = currentRow.lastChild;
|
||||
var first = currentRow.firstChild;
|
||||
if (first == last) {
|
||||
// Kill the row.
|
||||
currentRow.parentNode.removeChild(currentRow);
|
||||
break;
|
||||
}
|
||||
|
||||
if (last.localName == "spacer") {
|
||||
var flex = last.getAttribute("flex");
|
||||
last.setAttribute("flex", ++flex);
|
||||
// Reflow doesn't happen for some reason. Trigger it with a hide/show. ICK! -dwh
|
||||
last.hidden = true;
|
||||
last.hidden = false;
|
||||
break;
|
||||
} else {
|
||||
// Make a spacer and give it a flex of 1.
|
||||
var spacer = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
|
||||
"spacer");
|
||||
spacer.setAttribute("flex", "1");
|
||||
currentRow.appendChild(spacer);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
currentRow.appendChild(nextRow.firstChild);
|
||||
currentRow = currentRow.nextSibling;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
gCurrentDragOverItem = null;
|
||||
|
||||
repositionDialog();
|
||||
gToolboxChanged = true;
|
||||
},
|
||||
|
||||
_flavourSet: null,
|
||||
|
||||
getSupportedFlavours: function ()
|
||||
{
|
||||
if (!this._flavourSet) {
|
||||
this._flavourSet = new FlavourSet();
|
||||
var documentId = gToolboxDocument.documentElement.id;
|
||||
this._flavourSet.appendFlavour("text/toolbarwrapper-id/"+documentId);
|
||||
}
|
||||
return this._flavourSet;
|
||||
}
|
||||
}
|
||||
|
||||
var paletteDNDObserver =
|
||||
{
|
||||
onDragOver: function (aEvent, aFlavour, aDragSession)
|
||||
{
|
||||
aDragSession.canDrop = true;
|
||||
},
|
||||
|
||||
onDrop: function(aEvent, aXferData, aDragSession)
|
||||
{
|
||||
var itemId = aXferData.data;
|
||||
|
||||
var wrapper = gToolboxDocument.getElementById("wrapper-"+itemId);
|
||||
if (wrapper) {
|
||||
// Don't allow static kids (e.g., the menubar) to move.
|
||||
if (wrapper.parentNode.firstPermanentChild && wrapper.parentNode.firstPermanentChild.id == wrapper.firstChild.id)
|
||||
return;
|
||||
if (wrapper.parentNode.lastPermanentChild && wrapper.parentNode.lastPermanentChild.id == wrapper.firstChild.id)
|
||||
return;
|
||||
|
||||
// The item was dragged out of the toolbar.
|
||||
wrapper.parentNode.removeChild(wrapper);
|
||||
|
||||
var wrapperType = wrapper.getAttribute("type");
|
||||
if (wrapperType != "separator" && wrapperType != "spacer" && wrapperType != "spring") {
|
||||
// Find the template node in the toolbox palette
|
||||
var templateNode = gToolbox.palette.firstChild;
|
||||
while (templateNode) {
|
||||
if (templateNode.id == itemId)
|
||||
break;
|
||||
templateNode = templateNode.nextSibling;
|
||||
}
|
||||
if (!templateNode)
|
||||
return;
|
||||
|
||||
// Clone the template and add it to our palette.
|
||||
var paletteItem = templateNode.cloneNode(true);
|
||||
appendPaletteItem(paletteItem);
|
||||
}
|
||||
}
|
||||
|
||||
repositionDialog();
|
||||
gToolboxChanged = true;
|
||||
},
|
||||
|
||||
_flavourSet: null,
|
||||
|
||||
getSupportedFlavours: function ()
|
||||
{
|
||||
if (!this._flavourSet) {
|
||||
this._flavourSet = new FlavourSet();
|
||||
var documentId = gToolboxDocument.documentElement.id;
|
||||
this._flavourSet.appendFlavour("text/toolbarwrapper-id/"+documentId);
|
||||
}
|
||||
return this._flavourSet;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,98 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
# ***** 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 Mozilla.org
|
||||
#
|
||||
# The Initial Developer of the Original Code is
|
||||
# David Hyatt.
|
||||
# Portions created by the Initial Developer are Copyright (C) 2002
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
# David Hyatt (hyatt@apple.com)
|
||||
# Blake Ross (blaker@netscape.com)
|
||||
# Daniel Glazman (daniel@glazman.org), on behalf of Lindows.com
|
||||
#
|
||||
# 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 *****
|
||||
|
||||
<!DOCTYPE dialog [
|
||||
<!ENTITY % customizeToolbarDTD SYSTEM "chrome://global/locale/customizeToolbar.dtd">
|
||||
%customizeToolbarDTD;
|
||||
]>
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://global/content/customizeToolbar.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://global/skin/customizeToolbar.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://editor/skin/editorPrimaryToolbar.css" type="text/css"?>
|
||||
|
||||
<window id="CustomizeToolbarWindow"
|
||||
title="&dialog.title;"
|
||||
onload="onLoad();"
|
||||
onunload="onUnload();"
|
||||
onclose="onAccept(); return false;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://global/content/customizeToolbar.js"/>
|
||||
<script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
|
||||
<script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
|
||||
|
||||
<stringbundle id="stringBundle" src="chrome://global/locale/customizeToolbar.properties"/>
|
||||
|
||||
<vbox id="main-box" flex="1" collapsed="true">
|
||||
<description id="instructions">
|
||||
&instructions.description;
|
||||
</description>
|
||||
|
||||
<vbox flex="1" id="palette-box"
|
||||
ondraggesture="nsDragAndDrop.startDrag(event, dragStartObserver);"
|
||||
ondragover="nsDragAndDrop.dragOver(event, paletteDNDObserver);"
|
||||
ondragdrop="nsDragAndDrop.drop(event, paletteDNDObserver);"/>
|
||||
|
||||
<box align="center">
|
||||
<label value="&show.label;"/>
|
||||
<menulist id="modelist" value="icons" oncommand="updateToolbarMode(this.value);">
|
||||
<menupopup>
|
||||
<menuitem value="full" label="&iconsAndText.label;"/>
|
||||
<menuitem value="icons" label="&icons.label;"/>
|
||||
<menuitem value="text" label="&text.label;"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
|
||||
<!--checkbox id="smallicons" oncommand="updateIconSize(this.checked);" label="&useSmallIcons.label;"/-->
|
||||
<spacer flex="1"/>
|
||||
|
||||
<button label="&restoreDefaultSet.label;" oncommand="restoreDefaultSet();"/>
|
||||
</box>
|
||||
|
||||
<separator class="groove"/>
|
||||
|
||||
<hbox align="center" pack="end">
|
||||
<button label="&saveChanges.label;" oncommand="onAccept();" default="true"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
|
||||
</window>
|
||||
@@ -1,312 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<!-- ***** 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 Mozilla.org.
|
||||
-
|
||||
- The Initial Developer of the Original Code is
|
||||
- Netscape Communications Corporation.
|
||||
- Portions created by the Initial Developer are Copyright (C) 1999-2000
|
||||
- the Initial Developer. All Rights Reserved.
|
||||
-
|
||||
- Contributor(s):
|
||||
- Ben Goodger
|
||||
- Michael Lowe
|
||||
- Sammy Ford
|
||||
- Daniel Glazman (daniel@glazman.org), on behalf of Lindows.com
|
||||
-
|
||||
- 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 LGPL or the GPL. 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 ***** -->
|
||||
|
||||
<?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://communicator/skin/communicator.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://communicator/skin/brand.css" type="text/css"?>
|
||||
|
||||
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
|
||||
|
||||
<?xul-overlay href="chrome://editor/content/editorOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://editor/content/composerOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://editor/content/EditorContextMenuOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://global/content/charsetOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://communicator/content/communicatorOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % editorDTD SYSTEM "chrome://editor/locale/editor.dtd" >
|
||||
%editorDTD;
|
||||
<!ENTITY % editorOverlayDTD SYSTEM "chrome://editor/locale/editorOverlay.dtd" >
|
||||
%editorOverlayDTD;
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
%brandDTD;
|
||||
]>
|
||||
|
||||
<window id="editorWindow"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="EditorOnLoad()"
|
||||
onunload="EditorShutdown()"
|
||||
onclose="return EditorCanClose()"
|
||||
onfocus="EditorOnFocus()"
|
||||
contenttitlesetting="true"
|
||||
titlemodifier="&editorWindow.titlemodifier;"
|
||||
titlemenuseparator="&editorWindow.titlemodifiermenuseparator;"
|
||||
windowtype="composer:html"
|
||||
width="640" height="480"
|
||||
screenX="10" screenY="10"
|
||||
persist="screenX screenY width height sizemode">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://editor/content/editor.js"/>
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EditorCommandsDebug.js"/>
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EditorContextMenu.js"/>
|
||||
<script type="application/x-javascript" src="chrome://editor/content/StructBarContextMenu.js"/>
|
||||
<script type="application/x-javascript" src="chrome://editor/content/editorApplicationOverlay.js"/>
|
||||
<script type="application/x-javascript" src="chrome://editor/content/publishprefs.js"/>
|
||||
<script type="application/x-javascript" src="chrome://communicator/content/contentAreaDD.js"/>
|
||||
<script type="application/x-javascript" src="chrome://communicator/content/contentAreaClick.js"/>
|
||||
<script type="application/x-javascript" src="chrome://communicator/content/printing.js"/>
|
||||
<script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
|
||||
<script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
|
||||
|
||||
<popupset id="editorContentContextSet"/>
|
||||
<popup id="sidebarPopup"/>
|
||||
|
||||
<commandset id="tasksCommands">
|
||||
<commandset id="globalEditMenuItems"/>
|
||||
<commandset id="selectEditMenuItems"/>
|
||||
<commandset id="undoEditMenuItems"/>
|
||||
<commandset id="clipboardEditMenuItems"/>
|
||||
|
||||
<commandset id="commonEditorMenuItems"/>
|
||||
<commandset id="composerMenuItems"/>
|
||||
<commandset id="composerEditMenuItems"/>
|
||||
<commandset id="composerSaveMenuItems"/>
|
||||
<commandset id="composerStyleMenuItems"/>
|
||||
<commandset id="composerTableMenuItems"/>
|
||||
<commandset id="composerListMenuItems"/>
|
||||
<command id="toggleSidebar"/>
|
||||
</commandset>
|
||||
|
||||
<tooltip id="aHTMLTooltip" onpopupshowing="return FillInHTMLTooltip(this);"/>
|
||||
|
||||
<broadcaster id="args" value="about:blank"/>
|
||||
<broadcaster id="canPrint"/>
|
||||
|
||||
<!-- Interim hack to transition from nsIXULWindowCallbacks/ShowWindowWithArgs
|
||||
<broadcaster id="dialog.start" ready="false"/>
|
||||
<observes element="dialog.start" attribute="ready" onbroadcast="EditorStartup('html')"/>
|
||||
-->
|
||||
<broadcasterset id="broadcasterset">
|
||||
<broadcaster id="Editor:Throbber" busy="false"/>
|
||||
<broadcaster id="Communicator:WorkMode"/>
|
||||
</broadcasterset>
|
||||
|
||||
<!-- keys are appended from the overlay -->
|
||||
<keyset id="editorKeys">
|
||||
<keyset id="tasksKeys"/>
|
||||
<key id="showHideSidebar"/>
|
||||
<!-- eat these tab events here to stop focus from moving -->
|
||||
<key keycode="VK_TAB" oncommand="return true;"/>
|
||||
<key keycode="VK_TAB" modifiers="shift" oncommand="return true;"/>
|
||||
<key keycode="VK_TAB" modifiers="control" oncommand="return true;"/>
|
||||
<key keycode="VK_TAB" modifiers="control,shift" oncommand="return true;"/>
|
||||
</keyset>
|
||||
|
||||
<toolbox class="toolbox-top" id="EditorToolbox" mode="icons">
|
||||
<menubar id="main-menubar" class="chromeclass-menubar" persist="collapsed" grippytooltiptext="&menuBar.tooltip;">
|
||||
<menu id="fileMenu"/>
|
||||
<menu id="editMenu"/>
|
||||
|
||||
<menu id="viewMenu" label="&viewMenu.label;" accesskey="&viewmenu.accesskey;">
|
||||
<!-- id pulls in "Show Sidebar" item from sidebarOverlay -->
|
||||
<menupopup id="menu_View_Popup">
|
||||
<menu id="menu_Toolbars"/>
|
||||
<menuseparator id="viewSep1"/>
|
||||
<menuitem id="viewNormalMode" checked="true"/>
|
||||
<menuitem id="viewAllTagsMode"/>
|
||||
<menuitem id="viewSourceMode"/>
|
||||
<menuitem id="viewPreviewMode"/>
|
||||
<menuseparator id="viewSep1"/>
|
||||
<menu id = "composerCharsetMenu" />
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<menu id="insertMenu"/>
|
||||
|
||||
<menu id="formatMenu" label="&formatMenu.label;" accesskey="&formatmenu.accesskey;">
|
||||
<menupopup id="formatMenuPopup">
|
||||
<menuitem id="snapToGrid"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="objectProperties"/>
|
||||
<menuitem id="colorsAndBackground"/>
|
||||
<menuitem id="pageProperties"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<menu id="tableMenu"/>
|
||||
|
||||
<!-- tasks menu filled from tasksOverlay -->
|
||||
<menu id="tasksMenu">
|
||||
<menupopup id="taskPopup">
|
||||
<menuitem id="menu_validate" observes="cmd_validate"/>
|
||||
<menuseparator id="sep_validate"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<!--menu id="windowMenu"/-->
|
||||
|
||||
<!-- DEBUG only -->
|
||||
<!--menu id="debugMenu" /-->
|
||||
<!-- end DEBUG only -->
|
||||
|
||||
<!-- help menu filled from globalOverlay -->
|
||||
<menu id="helpMenu"/>
|
||||
|
||||
<spacer flex="1"/>
|
||||
</menubar>
|
||||
|
||||
<toolbarpalette id="MainToolbarPalette">
|
||||
<toolbarbutton id="newButton"/>
|
||||
<toolbarbutton id="openButton"/>
|
||||
<toolbarbutton id="saveButton"/>
|
||||
<toolbarbutton id="publishButton"/>
|
||||
<toolbarbutton id="previewButton"/>
|
||||
<toolbarbutton id="cutButton"/>
|
||||
<toolbarbutton id="copyButton"/>
|
||||
<toolbarbutton id="pasteButton"/>
|
||||
<toolbarbutton id="printButton"/>
|
||||
<toolbarbutton id="findButton"/>
|
||||
<toolbarbutton id="linkButton"/>
|
||||
<toolbarbutton id="namedAnchorButton"/>
|
||||
<toolbarbutton id="imageButton"/>
|
||||
<toolbarbutton id="hlineButton"/>
|
||||
<toolbarbutton id="tableButton"/>
|
||||
<toolbarbutton id="formButton"/>
|
||||
<toolbarbutton id="spellingButton"/>
|
||||
<toolbaritem id="throbber-box" align="center" pack="center">
|
||||
<button id="navigator-throbber" tooltiptext="&throbber.tooltip;" />
|
||||
</toolbaritem>
|
||||
</toolbarpalette>
|
||||
<toolbar id="EditToolbar" class="toolbar-primary chromeclass-toolbar"
|
||||
toolbarname="Main"
|
||||
fullscreentoolbar="true" mode="icons"
|
||||
customizable="true"
|
||||
defaultset="newButton,spacer,openButton,saveButton,publishButton,previewButton,spacer,namedAnchorButton,linkButton,imageButton,tableButton,formButton,spacer,spellingButton,spacer,printButton,spring,throbber-box,spacer">
|
||||
</toolbar>
|
||||
|
||||
<toolbar class="chromeclass-toolbar" id="FormatToolbar" persist="collapsed" tbalign="center" grippytooltiptext="&formatToolbar.tooltip;">
|
||||
<!-- from editorOverlay -->
|
||||
<menulist id="ParagraphSelect"/>
|
||||
<stack id="ColorButtons"/>
|
||||
<toolbarbutton id="HighlightColorButton"/>
|
||||
|
||||
<toolbarseparator class="toolbarseparator-standard"/>
|
||||
|
||||
<toolbarbutton id="DecreaseFontSizeButton"/>
|
||||
<toolbarbutton id="IncreaseFontSizeButton"/>
|
||||
|
||||
<toolbarseparator class="toolbarseparator-standard"/>
|
||||
|
||||
<toolbarbutton id="boldButton"/>
|
||||
<toolbarbutton id="italicButton"/>
|
||||
<toolbarbutton id="underlineButton"/>
|
||||
|
||||
<toolbarseparator class="toolbarseparator-standard"/>
|
||||
|
||||
<toolbarbutton id="ulButton"/>
|
||||
<toolbarbutton id="olButton"/>
|
||||
<toolbarbutton id="outdentButton"/>
|
||||
<toolbarbutton id="indentButton"/>
|
||||
|
||||
<toolbarseparator class="toolbarseparator-standard"/>
|
||||
|
||||
<toolbarbutton id="align-left-button"/>
|
||||
<toolbarbutton id="align-center-button"/>
|
||||
<toolbarbutton id="align-right-button"/>
|
||||
<toolbarbutton id="align-justify-button"/>
|
||||
|
||||
<toolbarbutton id="absolutePositionButton"/>
|
||||
<toolbarbutton id="decreaseZIndexButton"/>
|
||||
<toolbarbutton id="increaseZIndexButton"/>
|
||||
|
||||
<!-- TODO: Change to a menulist? -->
|
||||
<!-- menu>
|
||||
<button id="AlignPopupButton"/>
|
||||
<menupopup id="AlignmentPopup"/>
|
||||
</menu -->
|
||||
|
||||
|
||||
<spacer flex="1"/>
|
||||
</toolbar>
|
||||
<toolbarset id="customToolbars" context="toolbar-context-menu"/>
|
||||
</toolbox>
|
||||
|
||||
<!-- sidebar/toolbar/content/status -->
|
||||
<hbox id="sidebar-parent" flex="1">
|
||||
<!-- From sidebarOverlay.xul -->
|
||||
<vbox id="sidebar-box" class="chromeclass-extrachrome" hidden="true"/>
|
||||
<splitter id="sidebar-splitter" class="chromeclass-extrachrome" hidden="true"/>
|
||||
|
||||
<vbox id="appcontent" flex="1">
|
||||
<deck id="ContentWindowDeck" selectedIndex="0" flex="1">
|
||||
<!-- KLUDGE: Temporary fix for bug 34414:
|
||||
The current editor tag doesn't have a view,
|
||||
which breaks deck frame-hiding mechanism
|
||||
-->
|
||||
<stack>
|
||||
<editor editortype="html" type="content-primary" id="content-frame"
|
||||
context="editorContentContext" flex="1" tooltip="aHTMLTooltip"/>
|
||||
</stack>
|
||||
<vbox>
|
||||
<label id="doctype-text" crop="right"/>
|
||||
<editor type="content" id="content-source" context="editorSourceContext" flex="1"/>
|
||||
</vbox>
|
||||
</deck>
|
||||
|
||||
<hbox id="EditModeToolbar" align="center" hidden="false" persist="collapsed">
|
||||
<tabs id="EditModeTabs" class="tabs-bottom" flex="1">
|
||||
<tab id="NormalModeButton"/>
|
||||
<tab id="TagModeButton"/>
|
||||
<tab id="SourceModeButton"/>
|
||||
<tab id="PreviewModeButton"/>
|
||||
</tabs>
|
||||
</hbox>
|
||||
|
||||
</vbox> <!-- appcontent -->
|
||||
</hbox><!-- sidebar-parent -->
|
||||
|
||||
<!-- Some of this is from globarOverlay.xul -->
|
||||
<statusbar class="chromeclass-status" id="status-bar">
|
||||
<!--statusbarpanel id="component-bar"/-->
|
||||
<statusbarpanel id="structToolbar" flex="1" pack="end">
|
||||
<label id="structSpacer" value="" flex="1"/>
|
||||
</statusbarpanel>
|
||||
<statusbarpanel class="statusbarpanel-iconic" id="offline-status"/>
|
||||
</statusbar>
|
||||
|
||||
|
||||
|
||||
</window>
|
||||
@@ -1,98 +0,0 @@
|
||||
# ***** 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 Mozilla.org
|
||||
#
|
||||
# The Initial Developer of the Original Code is
|
||||
# David Hyatt.
|
||||
# Portions created by the Initial Developer are Copyright (C) 2002
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
# David Hyatt (hyatt@apple.com)
|
||||
# Daniel Glazman (daniel@glazman.org), on behalf of Lindows.com
|
||||
#
|
||||
# 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 *****
|
||||
|
||||
function CustomizeMainToolbar(id)
|
||||
{
|
||||
// make sure our toolbar buttons have the correct enabled state restored to them...
|
||||
if (this.UpdateMainToolbar == undefined)
|
||||
dump("UPDATEMAINTOOLBAR undefined\n");
|
||||
|
||||
// Disable the toolbar context menu items
|
||||
// var menubar = document.getElementById("main-menubar");
|
||||
// for (var i = 0; i < menubar.childNodes.length; ++i)
|
||||
// menubar.childNodes[i].setAttribute("disabled", true);
|
||||
|
||||
var customizePopup = document.getElementById("CustomizeMainToolbar");
|
||||
if (customizePopup)
|
||||
customizePopup.setAttribute("disabled", "true");
|
||||
|
||||
window.openDialog("chrome://global/content/customizeToolbar.xul", "CustomizeToolbar",
|
||||
"chrome,all,dependent", document.getElementById(id));
|
||||
}
|
||||
|
||||
function MainToolboxCustomizeDone(aToolboxChanged)
|
||||
{
|
||||
// Update global UI elements that may have been added or removed
|
||||
|
||||
// Re-enable parts of the UI we disabled during the dialog
|
||||
var menubar = document.getElementById("main-menubar");
|
||||
for (var i = 0; i < menubar.childNodes.length; ++i)
|
||||
menubar.childNodes[i].setAttribute("disabled", false);
|
||||
|
||||
var customizePopup = document.getElementById("CustomizeMainToolbar");
|
||||
if (customizePopup)
|
||||
customizePopup.removeAttribute("disabled");
|
||||
|
||||
// make sure our toolbar buttons have the correct enabled state restored to them...
|
||||
if (this.UpdateMainToolbar != undefined)
|
||||
UpdateMainToolbar(focus);
|
||||
}
|
||||
|
||||
function onViewToolbarCommand(aToolbarId, aMenuItemId)
|
||||
{
|
||||
var toolbar = document.getElementById(aToolbarId);
|
||||
var menuItem = document.getElementById(aMenuItemId);
|
||||
|
||||
if (!toolbar || !menuItem) return;
|
||||
|
||||
var toolbarCollapsed = toolbar.collapsed;
|
||||
|
||||
// toggle the checkbox
|
||||
menuItem.setAttribute('checked', toolbarCollapsed);
|
||||
|
||||
// toggle visibility of the toolbar
|
||||
toolbar.collapsed = !toolbarCollapsed;
|
||||
|
||||
document.persist(aToolbarId, 'collapsed');
|
||||
document.persist(aMenuItemId, 'checked');
|
||||
}
|
||||
|
||||
function UpdateMainToolbar(caller)
|
||||
{
|
||||
dump("===> UPDATING TOOLBAR\n");
|
||||
}
|
||||
@@ -1,133 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- ***** 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 Editor Toolbar Preferences.
|
||||
-
|
||||
- The Initial Developer of the Original Code is
|
||||
- Neil Rashbrook.
|
||||
- Portions created by the Initial Developer are Copyright (C) 2003
|
||||
- the Initial Developer. All Rights Reserved.
|
||||
-
|
||||
- Contributor(s): Neil Rashbrook <neil@parkwaycc.co.uk>
|
||||
-
|
||||
- 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 LGPL or the GPL. 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 ***** -->
|
||||
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
|
||||
<!DOCTYPE page SYSTEM "chrome://editor/locale/pref-toolbars.dtd">
|
||||
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel('chrome://editor/content/pref-toolbars.xul');"
|
||||
headertitle="&header.title;">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
var _elementIDs = [
|
||||
"showNew", "showOpen", "showSave", "showPublish", "showPreview", "showSmaller", "showLarger", "showBold",
|
||||
"showCut", "showCopy", "showPaste", "showPrint", "showFind", "showBullets", "showNumbers", "showItalic",
|
||||
"showImage", "showHline", "showTable", "showLink", "showAnchor", "showOutdent", "showIndent", "showUnderline",
|
||||
"showAbsolutePosition", "showDecreaseZIndex", "showIncreaseZIndex" ];
|
||||
]]>
|
||||
</script>
|
||||
|
||||
<groupbox orient="horizontal">
|
||||
<caption label="&composition.caption;"/>
|
||||
<vbox flex="1">
|
||||
<checkbox label="&new.label;" id="showNew"
|
||||
prefstring="editor.toolbars.showbutton.new"/>
|
||||
<checkbox label="&open.label;" id="showOpen"
|
||||
prefstring="editor.toolbars.showbutton.open"/>
|
||||
<checkbox label="&save.label;" id="showSave"
|
||||
prefstring="editor.toolbars.showbutton.save"/>
|
||||
<checkbox label="&publish.label;" id="showPublish"
|
||||
prefstring="editor.toolbars.showbutton.publish"/>
|
||||
</vbox>
|
||||
<vbox flex="1">
|
||||
<checkbox label="&preview.label;" id="showPreview"
|
||||
prefstring="editor.toolbars.showbutton.preview"/>
|
||||
<checkbox label="&cut.label;" id="showCut"
|
||||
prefstring="editor.toolbars.showbutton.cut"/>
|
||||
<checkbox label="©.label;" id="showCopy"
|
||||
prefstring="editor.toolbars.showbutton.copy"/>
|
||||
<checkbox label="&paste.label;" id="showPaste"
|
||||
prefstring="editor.toolbars.showbutton.paste"/>
|
||||
</vbox>
|
||||
<vbox flex="1">
|
||||
<checkbox label="&print.label;" id="showPrint"
|
||||
prefstring="editor.toolbars.showbutton.print"/>
|
||||
<checkbox label="&find.label;" id="showFind"
|
||||
prefstring="editor.toolbars.showbutton.find"/>
|
||||
<checkbox label="&image.label;" id="showImage"
|
||||
prefstring="editor.toolbars.showbutton.image"/>
|
||||
<checkbox label="&hline.label;" id="showHline"
|
||||
prefstring="editor.toolbars.showbutton.hline"/>
|
||||
</vbox>
|
||||
<vbox flex="1">
|
||||
<checkbox label="&table.label;" id="showTable"
|
||||
prefstring="editor.toolbars.showbutton.table"/>
|
||||
<checkbox label="&link.label;" id="showLink"
|
||||
prefstring="editor.toolbars.showbutton.link"/>
|
||||
<checkbox label="&anchor.label;" id="showAnchor"
|
||||
prefstring="editor.toolbars.showbutton.namedAnchor"/>
|
||||
<checkbox label="&form.label;" id="showForm"
|
||||
prefstring="editor.toolbars.showbutton.form"/>
|
||||
</vbox>
|
||||
</groupbox>
|
||||
|
||||
<groupbox orient="horizontal">
|
||||
<caption label="&formatting.caption;"/>
|
||||
<vbox flex="1">
|
||||
<checkbox label="&smaller.label;" id="showSmaller"
|
||||
prefstring="editor.toolbars.showbutton.DecreaseFontSize"/>
|
||||
<checkbox label="&larger.label;" id="showLarger"
|
||||
prefstring="editor.toolbars.showbutton.IncreaseFontSize"/>
|
||||
<checkbox label="&bold.label;" id="showBold"
|
||||
prefstring="editor.toolbars.showbutton.bold"/>
|
||||
<checkbox label="&absolutePosition.label;" id="showAbsolutePosition"
|
||||
prefstring="editor.toolbars.showbutton.absolutePosition"/>
|
||||
</vbox>
|
||||
<vbox flex="1">
|
||||
<checkbox label="&bullets.label;" id="showBullets"
|
||||
prefstring="editor.toolbars.showbutton.ul"/>
|
||||
<checkbox label="&numbers.label;" id="showNumbers"
|
||||
prefstring="editor.toolbars.showbutton.ol"/>
|
||||
<checkbox label="&italic.label;" id="showItalic"
|
||||
prefstring="editor.toolbars.showbutton.italic"/>
|
||||
<checkbox label="&decreaseZIndex.label;" id="showDecreaseZIndex"
|
||||
prefstring="editor.toolbars.showbutton.decreaseZIndex"/>
|
||||
</vbox>
|
||||
<vbox flex="1">
|
||||
<checkbox label="&outdent.label;" id="showOutdent"
|
||||
prefstring="editor.toolbars.showbutton.outdent"/>
|
||||
<checkbox label="&indent.label;" id="showIndent"
|
||||
prefstring="editor.toolbars.showbutton.indent"/>
|
||||
<checkbox label="&underline.label;" id="showUnderline"
|
||||
prefstring="editor.toolbars.showbutton.underline"/>
|
||||
<checkbox label="&increaseZIndex.label;" id="showIncreaseZIndex"
|
||||
prefstring="editor.toolbars.showbutton.increaseZIndex"/>
|
||||
</vbox>
|
||||
</groupbox>
|
||||
</page>
|
||||
|
Before Width: | Height: | Size: 3.7 KiB |
@@ -1,3 +0,0 @@
|
||||
<!ENTITY aboutDialog.title "About &brandShortName;">
|
||||
<!ENTITY copyright "Copyright and contributor information">
|
||||
<!ENTITY copyrightLink "http://www.mozilla.org/projects/thunderbird/">
|
||||
@@ -1,62 +0,0 @@
|
||||
<!-- ***** 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 Mozilla Communicator client code, released
|
||||
- March 31, 1998.
|
||||
-
|
||||
- The Initial Developer of the Original Code is
|
||||
- Netscape Communications Corporation.
|
||||
- Portions created by the Initial Developer are Copyright (C) 1999
|
||||
- the Initial Developer. All Rights Reserved.
|
||||
-
|
||||
- Contributor(s):
|
||||
- Daniel Glazman (daniel@glazman.org), on behalf of Lindows.com
|
||||
-
|
||||
- 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 LGPL or the GPL. 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 ***** -->
|
||||
|
||||
<!-- Window title -->
|
||||
<!-- LOCALIZATION NOTE (editorWindow.titlemodifier): DONT_TRANSLATE -->
|
||||
<!ENTITY editorWindow.titlemodifier "Composer">
|
||||
<!ENTITY editorWindow.titlemodifiermenuseparator " - ">
|
||||
<!ENTITY textEditorWindow.titlemodifier "Text Editor">
|
||||
|
||||
<!-- Menu items: the . means that the menu item isn't implemented yet -->
|
||||
|
||||
<!-- View menu items -->
|
||||
<!ENTITY viewMenu.label "View">
|
||||
<!ENTITY viewmenu.accesskey "v">
|
||||
|
||||
<!-- Format menu items -->
|
||||
<!ENTITY formatMenu.label "Format">
|
||||
<!ENTITY formatmenu.accesskey "o">
|
||||
|
||||
<!ENTITY helpMenu.label "Help">
|
||||
<!ENTITY aboutCmd.label ".About">
|
||||
|
||||
<!-- Display Mode Toolbar -->
|
||||
<!ENTITY editMode.label "Edit Mode:">
|
||||
|
||||
<!ENTITY statusText.label "Done loading page">
|
||||
|
||||
@@ -1,624 +0,0 @@
|
||||
<!-- ***** 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 Mozilla Communicator client code, released
|
||||
- March 31, 1998.
|
||||
-
|
||||
- The Initial Developer of the Original Code is
|
||||
- Netscape Communications Corporation.
|
||||
- Portions created by the Initial Developer are Copyright (C) 1999
|
||||
- the Initial Developer. All Rights Reserved.
|
||||
-
|
||||
- Contributor(s):
|
||||
- Sammy Ford
|
||||
- Blake Ross
|
||||
- Ryan Cassin (rcassin@supernova.org)
|
||||
- Daniel Glazman (glazman@netscape.com)
|
||||
- Stephen Donner (technutz@netscape.net)
|
||||
- Daniel Glazman (daniel@glazman.org), on behalf of Lindows.com
|
||||
-
|
||||
- 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 LGPL or the GPL. 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 ***** -->
|
||||
|
||||
<!-- Attn: Localization - some of the menus in this dialog directly affect mail also. -->
|
||||
|
||||
<!-- File menu items -->
|
||||
<!ENTITY fileMenu.label "File">
|
||||
<!ENTITY filemenu.accesskey "f">
|
||||
<!ENTITY newBlankPageCmd.label "New Page">
|
||||
<!ENTITY newBlankPage.accesskey "P" >
|
||||
<!ENTITY newMenu.label "New">
|
||||
<!ENTITY openFileCmd.label "Open File...">
|
||||
<!ENTITY fileopen.accesskey "o">
|
||||
<!ENTITY fileopen.keybinding "o">
|
||||
<!ENTITY openremoteCmd.label "Open Web Location...">
|
||||
<!ENTITY fileopenremote.accesskey "l">
|
||||
<!ENTITY fileopenremote.keybinding "l">
|
||||
<!ENTITY fileRecentMenu.label "Recent Pages">
|
||||
<!ENTITY filerecentmenu.accesskey "r">
|
||||
<!ENTITY fileRevert.label "Revert">
|
||||
<!ENTITY filerevert.accesskey "v">
|
||||
<!ENTITY saveCmd.label "Save">
|
||||
<!ENTITY filesave.accesskey "s">
|
||||
<!ENTITY filesave.keybinding "s">
|
||||
<!ENTITY saveAsCmd.label "Save As...">
|
||||
<!ENTITY filesaveas.accesskey "A">
|
||||
|
||||
<!ENTITY publishCmd.label "Publish">
|
||||
<!ENTITY publishcmd.accesskey "u">
|
||||
<!ENTITY publishAsCmd.label "Publish As...">
|
||||
<!ENTITY publishas.accesskey "b">
|
||||
<!ENTITY exportToTextCmd.label "Export to Text...">
|
||||
<!ENTITY fileexporttotext.accesskey "T">
|
||||
<!ENTITY saveAndChangeEncodingCmd.label "Save And Change Character Encoding">
|
||||
<!ENTITY filesaveandchangeencoding.accesskey "h">
|
||||
<!ENTITY previewCmd.label "Browse Page">
|
||||
<!ENTITY filepreview.accesskey "w">
|
||||
<!ENTITY sendPageCmd.label "Send Page...">
|
||||
<!ENTITY sendPage.accesskey "g">
|
||||
<!ENTITY printSetupCmd.label "Page Setup...">
|
||||
<!ENTITY fileprintsetup.accesskey "u">
|
||||
<!ENTITY printPreviewCmd.label "Print Preview">
|
||||
<!ENTITY fileprintpreview.accesskey "v">
|
||||
<!ENTITY printCmd.label "Print...">
|
||||
<!ENTITY printButtonCmd.label "Print...">
|
||||
<!ENTITY fileprint.accesskey "p">
|
||||
<!ENTITY fileprint.keybinding "p">
|
||||
<!ENTITY closeCmd.label "Close">
|
||||
<!ENTITY fileclose.accesskey "c">
|
||||
<!ENTITY fileclose.keybinding "w">
|
||||
<!ENTITY exitCmd.label "Quit">
|
||||
<!ENTITY fileexit.accesskey "q">
|
||||
<!ENTITY fileexit.keybinding "q">
|
||||
|
||||
<!-- Edit menu items -->
|
||||
<!ENTITY editMenu.label "Edit">
|
||||
<!ENTITY editmenu.accesskey "e">
|
||||
<!ENTITY pasteNoFormatting.label "Paste Without Formatting">
|
||||
<!ENTITY pasteNoFormatting.accesskey "W">
|
||||
<!ENTITY pasteAs.label "Paste As">
|
||||
<!ENTITY pasteAs.accesskey "a">
|
||||
<!ENTITY publishSettings.label "Publishing Site Settings...">
|
||||
<!ENTITY publishSettings.accesskey "b">
|
||||
|
||||
<!-- For a "Paste" submenu when more than 1
|
||||
clipboard formats are available -->
|
||||
<!ENTITY pasteHTMLCmd.label "HTML">
|
||||
<!ENTITY pasteHTML.accesskey "h">
|
||||
<!ENTITY pasteTextCmd.label "Text">
|
||||
<!ENTITY pasteText.accesskey "t">
|
||||
<!ENTITY pasteImageCmd.label "Image">
|
||||
<!ENTITY pasteImage.accesskey "i">
|
||||
<!ENTITY pasteRowsCmd.label "Rows">
|
||||
<!ENTITY pasteRows.accesskey "r">
|
||||
<!ENTITY pasteColumnsCmd.label "Columns">
|
||||
<!ENTITY pasteColumns.accesskey "c">
|
||||
<!-- LOCALIZATION NOTE: Text for menu item is in editor.properties
|
||||
Set to: "Table" or "Nested Table" depending on context
|
||||
This accesskey must be in both strings -->
|
||||
<!ENTITY pasteTable.accesskey "a">
|
||||
<!ENTITY pasteLinkCmd.label "Link">
|
||||
<!ENTITY editpastelink.accesskey "l">
|
||||
<!ENTITY pasteAsQuotationCmd.label "Paste As Quotation">
|
||||
<!ENTITY editpastequotation.accesskey "q">
|
||||
<!ENTITY editpastequotation.keybinding "v">
|
||||
<!ENTITY editStripQuotesCmd.label "Strip Quotes">
|
||||
<!ENTITY editRewrapCmd.label "Rewrap">
|
||||
<!ENTITY findCmd.label "Find and Replace...">
|
||||
<!ENTITY editfind.accesskey "f">
|
||||
<!ENTITY editfind.keybinding "f">
|
||||
<!ENTITY findAgainCmd.label "Find Again">
|
||||
<!ENTITY editfindnext.accesskey "g">
|
||||
<!ENTITY editfindnext.keybinding "g">
|
||||
<!ENTITY editfindnext.keybinding2 "VK_F3">
|
||||
<!ENTITY findPrevCmd.label "Find Previous">
|
||||
<!ENTITY editfindprev.accesskey "v">
|
||||
<!ENTITY editfindprev.keybinding "g">
|
||||
<!ENTITY editfindprev.keybinding2 "VK_F3">
|
||||
<!ENTITY checkSpellingCmd.label "Check Spelling">
|
||||
<!ENTITY validateCmd.label "Validate HTML">
|
||||
<!ENTITY validate.accesskey "v">
|
||||
<!ENTITY checkLinksCmd.label "Check Links">
|
||||
<!ENTITY editcheckspelling.accesskey "s">
|
||||
<!ENTITY editcheckspelling.keybinding "k">
|
||||
|
||||
<!-- View menu items -->
|
||||
<!ENTITY viewToolbarsMenu.label "Show/Hide">
|
||||
<!ENTITY viewToolbarsMenu.accesskey "w">
|
||||
<!ENTITY compositionToolbarCmd.label "Composition Toolbar">
|
||||
<!ENTITY compositiontb.accesskey "c">
|
||||
<!ENTITY formattingToolbarCmd.label "Format Toolbar">
|
||||
<!ENTITY formattingtb.accesskey "f">
|
||||
<!ENTITY editmodeToolbarCmd.label "Edit Mode Toolbar">
|
||||
<!ENTITY editmodetb.accesskey "E">
|
||||
<!ENTITY taskbarCmd.label "Status Bar">
|
||||
<!ENTITY taskbarCmd.accesskey "S">
|
||||
<!ENTITY viewPageSource.label "Page Source">
|
||||
<!ENTITY viewpagesource.accesskey "s">
|
||||
<!ENTITY viewParagraphMarks.label "Paragraph Marks">
|
||||
<!ENTITY viewparagraphmarks.accesskey "p">
|
||||
|
||||
<!-- Insert menu items -->
|
||||
<!ENTITY insertMenu.label "Insert">
|
||||
<!ENTITY insertmenu.accesskey "i">
|
||||
<!ENTITY insertLinkCmd.label "Link...">
|
||||
<!ENTITY insertlink.accesskey "l">
|
||||
<!ENTITY insertlink.keybinding "l">
|
||||
<!ENTITY insertAnchorCmd.label "Named Anchor...">
|
||||
<!ENTITY insertanchor.accesskey "A">
|
||||
<!ENTITY insertImageCmd.label "Image...">
|
||||
<!ENTITY insertimage.accesskey "i">
|
||||
<!ENTITY insertImageMapCmd.label "Image Map...">
|
||||
<!ENTITY insertHLineCmd.label "Horizontal Line">
|
||||
<!ENTITY inserthline.accesskey "o">
|
||||
<!ENTITY insertTableCmd.label "Table...">
|
||||
<!ENTITY inserttable.accesskey "t">
|
||||
<!ENTITY insertFormMenu.label "Form...">
|
||||
<!ENTITY insertformmenu.accesskey "F">
|
||||
<!ENTITY insertHTMLCmd.label "HTML...">
|
||||
<!ENTITY insertHTMLCmd.accesskey "h">
|
||||
<!ENTITY insertCharsCmd.label "Characters and Symbols...">
|
||||
<!ENTITY insertchars.accesskey "C">
|
||||
<!ENTITY insertBreakCmd.label "Line Break">
|
||||
<!ENTITY insertbreak.accesskey "b">
|
||||
<!ENTITY insertBreakAllCmd.label "Break Below Image(s)">
|
||||
<!ENTITY insertbreakall.accesskey "k">
|
||||
|
||||
<!-- Insert form menu items -->
|
||||
<!ENTITY insertFormCmd.label "Define Form...">
|
||||
<!ENTITY insertform.accesskey "D">
|
||||
<!ENTITY insertInputTagCmd.label "Form Field...">
|
||||
<!ENTITY insertinputtag.accesskey "e">
|
||||
<!ENTITY insertInputImageCmd.label "Form Image...">
|
||||
<!ENTITY insertinputimage.accesskey "I">
|
||||
<!ENTITY insertTextAreaCmd.label "Text Area...">
|
||||
<!ENTITY inserttextarea.accesskey "T">
|
||||
<!ENTITY insertSelectCmd.label "Selection List...">
|
||||
<!ENTITY insertselect.accesskey "S">
|
||||
<!ENTITY insertButtonCmd.label "Define Button...">
|
||||
<!ENTITY insertbutton.accesskey "B">
|
||||
<!ENTITY insertLabelCmd.label "Define Label">
|
||||
<!ENTITY insertlabel.accesskey "L">
|
||||
<!ENTITY insertFieldSetCmd.label "Define Field Set...">
|
||||
<!ENTITY insertfieldset.accesskey "F">
|
||||
<!ENTITY insertIsIndexCmd.label "Index Search">
|
||||
<!ENTITY insertisindex.accesskey "x">
|
||||
|
||||
<!-- Used just in context popup. -->
|
||||
<!ENTITY createLinkCmd.label "Create Link...">
|
||||
<!ENTITY createlink.accesskey "k">
|
||||
<!ENTITY editLinkCmd.label "Edit Link in New Composer">
|
||||
<!ENTITY editlink.accesskey "i">
|
||||
<!-- (Toplevel Edit menu uses utilityOverlay) -->
|
||||
<!ENTITY undoCmd.label "Undo">
|
||||
<!ENTITY undo.accesskey "u">
|
||||
<!ENTITY redoCmd.label "Redo">
|
||||
<!ENTITY redo.accesskey "r">
|
||||
<!ENTITY cutCmd.label "Cut">
|
||||
<!ENTITY cut.accesskey "t">
|
||||
<!ENTITY copyCmd.label "Copy">
|
||||
<!ENTITY copy.accesskey "c">
|
||||
<!ENTITY pasteCmd.label "Paste">
|
||||
<!ENTITY paste.accesskey "p">
|
||||
<!ENTITY deleteCmd.label "Delete">
|
||||
<!ENTITY delete.accesskey "d">
|
||||
<!ENTITY clearCmd.label "Clear">
|
||||
<!ENTITY clear.accesskey "l">
|
||||
<!ENTITY selectAllCmd.label "Select All">
|
||||
<!ENTITY selectall.accesskey "a">
|
||||
|
||||
<!-- Font Face SubMenu -->
|
||||
<!ENTITY FontFaceSelect.tooltip "Choose a font">
|
||||
<!ENTITY fontfaceMenu.label "Font">
|
||||
<!ENTITY formatfontmenu.accesskey "f">
|
||||
<!ENTITY fontVarWidth.label "Variable Width">
|
||||
<!ENTITY fontvarwidth.accesskey "v">
|
||||
<!ENTITY fontFixedWidth.label "Fixed Width">
|
||||
<!ENTITY fontfixedwidth.accesskey "x">
|
||||
<!ENTITY formatfontfixed.keybinding "t">
|
||||
<!ENTITY fontHelveticaFont.label "Helvetica, Arial">
|
||||
<!ENTITY fonthelvetica.accesskey "l">
|
||||
<!ENTITY fontTimes.label "Times">
|
||||
<!ENTITY fonttimes.accesskey "t">
|
||||
<!ENTITY fontCourier.label "Courier">
|
||||
<!ENTITY fontcourier.accesskey "c">
|
||||
<!ENTITY localfontfaceMenu.label "Local Fonts">
|
||||
<!ENTITY localfontmenu.accesskey "f">
|
||||
|
||||
<!-- Font Size SubMenu -->
|
||||
<!ENTITY FontSizeSelect.tooltip "Choose a font size">
|
||||
<!ENTITY decreaseFontSize.label "Smaller">
|
||||
<!ENTITY decreasefontsize.accesskey "r">
|
||||
<!ENTITY decreaseFontSize.keybinding "-">
|
||||
<!ENTITY increaseFontSize.label "Larger">
|
||||
<!ENTITY increasefontsize.accesskey "g">
|
||||
<!ENTITY increaseFontSize.keybinding "+">
|
||||
<!ENTITY increaseFontSize.keybinding2 "="> <!-- + is above this key on many keyboards -->
|
||||
|
||||
<!ENTITY fontsizeMenu.label "Size">
|
||||
<!ENTITY formatsizemenu.accesskey "z">
|
||||
<!ENTITY size-xx-smallCmd.label "xx-small">
|
||||
<!ENTITY size-xx-small.accesskey "a">
|
||||
<!ENTITY size-x-smallCmd.label "x-small">
|
||||
<!ENTITY size-x-small.accesskey "m">
|
||||
<!ENTITY size-smallCmd.label "small">
|
||||
<!ENTITY size-small.accesskey "s">
|
||||
<!ENTITY size-mediumCmd.label "medium">
|
||||
<!ENTITY size-medium.accesskey "d">
|
||||
<!ENTITY size-largeCmd.label "large">
|
||||
<!ENTITY size-large.accesskey "l">
|
||||
<!ENTITY size-x-largeCmd.label "x-large">
|
||||
<!ENTITY size-x-large.accesskey "x">
|
||||
<!ENTITY size-xx-largeCmd.label "xx-large">
|
||||
<!ENTITY size-xx-large.accesskey "e">
|
||||
|
||||
<!-- Font Style SubMenu -->
|
||||
<!ENTITY fontStyleMenu.label "Text Style">
|
||||
<!ENTITY formatstylemenu.accesskey "s">
|
||||
<!ENTITY styleBoldCmd.label "Bold">
|
||||
<!ENTITY stylebold.accesskey "b">
|
||||
<!ENTITY stylebold.keybinding "b">
|
||||
<!ENTITY styleItalicCmd.label "Italic">
|
||||
<!ENTITY styleitalic.accesskey "I">
|
||||
<!ENTITY styleitalic.keybinding "i">
|
||||
<!ENTITY styleUnderlineCmd.label "Underline">
|
||||
<!ENTITY styleunderline.accesskey "u">
|
||||
<!ENTITY styleunderline.keybinding "u">
|
||||
<!ENTITY styleStrikeThruCmd.label "Strikethrough">
|
||||
<!ENTITY stylestrikethru.accesskey "k">
|
||||
<!ENTITY styleSuperscriptCmd.label "Superscript">
|
||||
<!ENTITY stylesuperscript.accesskey "p">
|
||||
<!ENTITY styleSubscriptCmd.label "Subscript">
|
||||
<!ENTITY stylesubscript.accesskey "S">
|
||||
<!ENTITY styleNonbreakingCmd.label "Nonbreaking">
|
||||
<!ENTITY stylenonbreaking.accesskey "N">
|
||||
<!ENTITY styleEm.label "Emphasis">
|
||||
<!ENTITY styleEm.accesskey "e">
|
||||
<!ENTITY styleStrong.label "Stronger Emphasis">
|
||||
<!ENTITY styleStrong.accesskey "t">
|
||||
<!ENTITY styleCite.label "Citation">
|
||||
<!ENTITY styleCite.accesskey "c">
|
||||
<!ENTITY styleAbbr.label "Abbreviation">
|
||||
<!ENTITY styleAbbr.accesskey "A">
|
||||
<!ENTITY styleAcronym.label "Acronym">
|
||||
<!ENTITY styleAcronym.accesskey "r">
|
||||
<!ENTITY styleCode.label "Code">
|
||||
<!ENTITY styleCode.accesskey "o">
|
||||
<!ENTITY styleSamp.label "Sample Output">
|
||||
<!ENTITY styleSamp.accesskey "m">
|
||||
<!ENTITY styleVar.label "Variable">
|
||||
<!ENTITY styleVar.accesskey "v">
|
||||
|
||||
<!ENTITY formatFontColor.label "Text Color...">
|
||||
<!ENTITY formatfontcolor.accesskey "c">
|
||||
<!ENTITY tableOrCellColor.label "Table or Cell Background Color...">
|
||||
<!ENTITY tableOrCellColor.accesskey "B">
|
||||
|
||||
<!ENTITY formatremovestyles.keybinding "y">
|
||||
<!ENTITY formatremovelinks.keybinding "k">
|
||||
<!ENTITY formatRemoveNamedAnchors.label "Remove Named Anchors">
|
||||
<!ENTITY formatRemoveNamedAnchors.accesskey "R">
|
||||
<!ENTITY formatremovenamedanchors.keybinding "a">
|
||||
|
||||
<!ENTITY formatindent.keybinding "]">
|
||||
<!ENTITY formatoutdent.keybinding "[">
|
||||
<!ENTITY paragraphMenu.label "Paragraph">
|
||||
<!ENTITY formatparagraphmenu.accesskey "P">
|
||||
<!ENTITY paragraphParagraphCmd.label "Paragraph">
|
||||
<!ENTITY paragraphparagraph.accesskey "P">
|
||||
<!ENTITY heading1Cmd.label "Heading 1">
|
||||
<!ENTITY heading1.accesskey "1">
|
||||
<!ENTITY heading2Cmd.label "Heading 2">
|
||||
<!ENTITY heading2.accesskey "2">
|
||||
<!ENTITY heading3Cmd.label "Heading 3">
|
||||
<!ENTITY heading3.accesskey "3">
|
||||
<!ENTITY heading4Cmd.label "Heading 4">
|
||||
<!ENTITY heading4.accesskey "4">
|
||||
<!ENTITY heading5Cmd.label "Heading 5">
|
||||
<!ENTITY heading5.accesskey "5">
|
||||
<!ENTITY heading6Cmd.label "Heading 6">
|
||||
<!ENTITY heading6.accesskey "6">
|
||||
<!ENTITY paragraphAddressCmd.label "Address">
|
||||
<!ENTITY paragraphaddress.accesskey "a">
|
||||
<!ENTITY paragraphPreformatCmd.label "Preformat">
|
||||
<!ENTITY paragraphpreformat.accesskey "f">
|
||||
<!ENTITY paragraphBlockquoteCmd.label "Blockquote">
|
||||
<!ENTITY paragraphblockquote.accesskey "b">
|
||||
|
||||
<!-- List menu items -->
|
||||
<!ENTITY formatlistMenu.label "List">
|
||||
<!ENTITY formatlistmenu.accesskey "l">
|
||||
<!ENTITY noneCmd.label "None">
|
||||
<!ENTITY none.accesskey "N">
|
||||
<!ENTITY listBulletCmd.label "Bulleted">
|
||||
<!ENTITY listbullet.accesskey "b">
|
||||
<!ENTITY listNumberedCmd.label "Numbered">
|
||||
<!ENTITY listnumbered.accesskey "m">
|
||||
<!ENTITY listTermCmd.label "Term">
|
||||
<!ENTITY listterm.accesskey "t">
|
||||
<!ENTITY listDefinitionCmd.label "Definition">
|
||||
<!ENTITY listdefinition.accesskey "d">
|
||||
<!ENTITY listProps.label "List Properties...">
|
||||
<!ENTITY listprops.accesskey "l">
|
||||
|
||||
<!ENTITY ParagraphSelect.tooltip "Choose a paragraph format">
|
||||
<!-- Shared in Paragraph, and Toolbar menulist -->
|
||||
<!ENTITY bodyTextCmd.label "Body Text">
|
||||
<!ENTITY bodytext.accesskey "T">
|
||||
<!-- isn't used in menu now, but may be added in future -->
|
||||
<!ENTITY advancedPropertiesCmd.label "Advanced Properties">
|
||||
<!ENTITY advancedproperties.accesskey "v">
|
||||
|
||||
<!ENTITY NormalAbbr.label "Text">
|
||||
<!ENTITY ParagraphAbbr.label "P">
|
||||
<!ENTITY Heading1Abbr.label "H1">
|
||||
<!ENTITY Heading2Abbr.label "H2">
|
||||
<!ENTITY Heading3Abbr.label "H3">
|
||||
<!ENTITY Heading4Abbr.label "H4">
|
||||
<!ENTITY Heading5Abbr.label "H5">
|
||||
<!ENTITY Heading6Abbr.label "H6">
|
||||
<!ENTITY BlockquoteAbbr.label "BQ">
|
||||
<!ENTITY AddressAbbr.label "Addr.">
|
||||
<!ENTITY PreformatAbbr.label "Pre.">
|
||||
|
||||
<!-- Style Sheet submenu NOT IMPLEMENTED -->
|
||||
<!ENTITY stylesheetMenu.label "Apply Style Sheet">
|
||||
<!ENTITY formatstylesheetmenu.accesskey "y">
|
||||
|
||||
<!-- Align menu items -->
|
||||
<!ENTITY alignMenu.label "Align">
|
||||
<!ENTITY formatalignmenu.accesskey "a">
|
||||
<!ENTITY alignLeft.label "Left">
|
||||
<!ENTITY alignleft.accesskey "l">
|
||||
<!ENTITY alignLeft.tooltip "Align Left">
|
||||
<!ENTITY alignCenter.label "Center">
|
||||
<!ENTITY aligncenter.accesskey "c">
|
||||
<!ENTITY alignCenter.tooltip "Align Center">
|
||||
<!ENTITY alignRight.label "Right">
|
||||
<!ENTITY alignright.accesskey "r">
|
||||
<!ENTITY alignRight.tooltip "Align Right">
|
||||
<!ENTITY alignJustify.label "Justify">
|
||||
<!ENTITY alignjustify.accesskey "j">
|
||||
<!ENTITY alignJustify.tooltip "Align Justified">
|
||||
|
||||
<!-- Layer toolbar items -->
|
||||
<!ENTITY layer.tooltip "Layer">
|
||||
<!ENTITY layerSendToBack.tooltip "Send to Back">
|
||||
<!ENTITY layerBringToFront.tooltip "Bring to Front">
|
||||
|
||||
<!ENTITY increaseIndent.label "Increase Indent">
|
||||
<!ENTITY increaseindent.accesskey "i">
|
||||
<!ENTITY increaseindentkb "=">
|
||||
<!ENTITY decreaseIndent.label "Decrease Indent">
|
||||
<!ENTITY decreaseindent.accesskey "D">
|
||||
<!ENTITY decreaseindentkb "-">
|
||||
|
||||
<!ENTITY grid.label "Positioning grid">
|
||||
<!ENTITY grid.accesskey "t">
|
||||
|
||||
<!ENTITY pageProperties.label "Page Title and Properties...">
|
||||
<!ENTITY pageproperties.accesskey "g">
|
||||
<!ENTITY colorsAndBackground.label "Page Colors and Background...">
|
||||
<!ENTITY colorsandbackground.accesskey "u">
|
||||
|
||||
<!-- Table Menu -->
|
||||
<!ENTITY tableMenu.label "Table">
|
||||
<!ENTITY tablemenu.accesskey "b">
|
||||
<!-- Select Submenu -->
|
||||
<!ENTITY tableSelectMenu.label "Select">
|
||||
<!ENTITY tableselectmenu.accesskey "s">
|
||||
|
||||
<!ENTITY tableSelectMenu2.label "Table Select">
|
||||
<!ENTITY tableInsertMenu2.label "Table Insert">
|
||||
<!ENTITY tableDeleteMenu2.label "Table Delete">
|
||||
|
||||
<!-- Insert SubMenu -->
|
||||
<!ENTITY tableInsertMenu.label "Insert">
|
||||
<!ENTITY tableinsertmenu.accesskey "i">
|
||||
<!ENTITY tableTable.label "Table">
|
||||
<!ENTITY tabletable.accesskey "t">
|
||||
<!ENTITY tableRow.label "Row">
|
||||
<!ENTITY tableRows.label "Row(s)">
|
||||
<!ENTITY tablerow.accesskey "r">
|
||||
<!ENTITY tableRowAbove.label "Row Above">
|
||||
<!-- uses tablerow.accesskey -->
|
||||
<!ENTITY tableRowBelow.label "Row Below">
|
||||
<!ENTITY tablerowbelow.accesskey "b">
|
||||
<!ENTITY tableColumn.label "Column">
|
||||
<!ENTITY tableColumns.label "Column(s)">
|
||||
<!ENTITY tablecolumn.accesskey "o">
|
||||
<!ENTITY tableColumnBefore.label "Column Before">
|
||||
<!-- uses tablecolumn.accesskey -->
|
||||
<!ENTITY tableColumnAfter.label "Column After">
|
||||
<!ENTITY tablecolumnafter.accesskey "a">
|
||||
<!ENTITY tableCell.label "Cell">
|
||||
<!ENTITY tableCells.label "Cell(s)">
|
||||
<!ENTITY tablecell.accesskey "c">
|
||||
<!ENTITY tableCellContents.label "Cell Contents">
|
||||
<!ENTITY tablecellcontents.accesskey "n">
|
||||
<!ENTITY tableAllCells.label "All Cells">
|
||||
<!ENTITY tableCellBefore.label "Cell Before">
|
||||
<!ENTITY tableallcells.accesskey "a">
|
||||
<!-- uses tablecell.accesskey -->
|
||||
<!ENTITY tableCellAfter.label "Cell After">
|
||||
<!ENTITY tablecellafter.accesskey "f">
|
||||
<!-- Delete SubMenu -->
|
||||
<!ENTITY tableDeleteMenu.label "Delete">
|
||||
<!ENTITY tabledeletemenu.accesskey "D">
|
||||
|
||||
<!ENTITY tableFix.label "Fix Table Layout">
|
||||
<!ENTITY tablefix.accesskey "f">
|
||||
<!-- text for "Join Cells" is in editor.properties
|
||||
("JoinSelectedCells" and "JoinCellToRight")
|
||||
the access key must exist in both of those strings
|
||||
But value must be set here for accesskey to draw properly
|
||||
-->
|
||||
<!ENTITY tableJoinCells.label "j">
|
||||
<!ENTITY tablejoincells.accesskey "j">
|
||||
<!ENTITY tableSplitCell.label "Split Cell">
|
||||
<!ENTITY tablesplitcell.accesskey "c">
|
||||
<!ENTITY convertToTable.label "Create Table from Selection">
|
||||
<!ENTITY converttotable.accesskey "r">
|
||||
<!ENTITY tableProperties.label "Table Properties...">
|
||||
<!ENTITY tableProperties.accesskey "o">
|
||||
|
||||
<!-- Tools menu -->
|
||||
<!ENTITY toolsmenu.accesskey "l">
|
||||
<!ENTITY toolbrowser.accesskey "b">
|
||||
<!ENTITY toolplaineditor.accesskey "p">
|
||||
<!ENTITY toolsetfocus.accesskey "f">
|
||||
|
||||
<!-- Debug menu items -->
|
||||
<!ENTITY debugMenu.label "Debug">
|
||||
<!ENTITY newEditorTestPage.label "Composer with Test Page">
|
||||
<!ENTITY textEditorCmd.label "Plaintext Editor">
|
||||
<!ENTITY outputTextCmd.label "Output Text">
|
||||
<!ENTITY outputHTMLCmd.label "Output HTML">
|
||||
<!ENTITY insertTextCmd.label "Insert Text">
|
||||
<!ENTITY testSelectionCmd.label "Test Selection">
|
||||
<!ENTITY testTableLayoutCmd.label "Test Table Layout">
|
||||
<!ENTITY testDocumentCmd.label "Test Document">
|
||||
<!ENTITY showEmbeddedCmd.label "Show Embedded Objects">
|
||||
<!ENTITY dumpContentCmd.label "Dump Content Tree">
|
||||
<!ENTITY runUnitTestsCmd.label "Run Unit Tests">
|
||||
<!ENTITY dumpUndoStack.label "Dump Undo Stack">
|
||||
<!ENTITY dumpRedoStack.label "Dump Redo Stack">
|
||||
<!ENTITY executeJSTransactionViaTxmgr.label "Execute JS Transaction Via Transaction Manager">
|
||||
<!ENTITY executeJSTransactionViaEditor.label "Execute JS Transaction Via Editor">
|
||||
<!ENTITY startLogCmd.label "Start Log">
|
||||
<!ENTITY stopLogCmd.label "Stop Log">
|
||||
<!ENTITY runLogCmd.label "Run Log">
|
||||
<!ENTITY setFocusCmd.label "Set Focus">
|
||||
|
||||
<!-- Toolbar-only items -->
|
||||
<!ENTITY menuBar.tooltip "Menu Bar">
|
||||
<!ENTITY compositionToolbar.tooltip "Composition Toolbar">
|
||||
<!ENTITY formatToolbar.tooltip "Formatting Toolbar">
|
||||
<!ENTITY newToolbarCmd.tooltip "Create a new page">
|
||||
<!ENTITY openToolbarCmd.label "Open">
|
||||
<!ENTITY openToolbarCmd.tooltip "Open a local file">
|
||||
<!ENTITY saveToolbarCmd.tooltip "Save file to a local location">
|
||||
<!ENTITY publishToolbarCmd.tooltip "Upload file to a remote location">
|
||||
<!ENTITY previewToolbarCmd.label "Browse">
|
||||
<!ENTITY previewToolbarCmd.tooltip "Load this page into Navigator">
|
||||
<!ENTITY printToolbarCmd.label "Print">
|
||||
<!ENTITY printToolbarCmd.tooltip "Print this page">
|
||||
<!ENTITY findToolbarCmd.label "Find">
|
||||
<!ENTITY findToolbarCmd.tooltip "Find text in page">
|
||||
<!ENTITY spellToolbarCmd.label "Spell">
|
||||
<!ENTITY spellToolbarCmd.tooltip "Check spelling of selection or entire page">
|
||||
<!ENTITY imageToolbarCmd.label "Image">
|
||||
<!ENTITY imageToolbarCmd.tooltip "Insert new image or edit selected image's properties">
|
||||
<!ENTITY hruleToolbarCmd.label "H.Line">
|
||||
<!ENTITY hruleToolbarCmd.tooltip "Insert horizontal line or edit selected line's properties">
|
||||
<!ENTITY tableToolbarCmd.label "Table">
|
||||
<!ENTITY tableToolbarCmd.tooltip "Insert new table or edit selected table's properties">
|
||||
<!ENTITY linkToolbarCmd.label "Link">
|
||||
<!ENTITY linkToolbarCmd.tooltip "Insert new link or edit selected link's properties">
|
||||
<!ENTITY anchorToolbarCmd.label "Anchor">
|
||||
<!ENTITY anchorToolbarCmd.tooltip "Insert new named anchor or edit selected anchor's properties">
|
||||
<!ENTITY textColorCaption.label "Text Color">
|
||||
<!ENTITY TextColorButton.tooltip "Choose color for text">
|
||||
<!ENTITY BackgroundColorButton.tooltip "Choose color for background">
|
||||
<!ENTITY throbber.tooltip "This is Composer">
|
||||
<!ENTITY HighlightColorButton.tooltip "Choose highlight color for text">
|
||||
|
||||
<!ENTITY formToolbarCmd.label "Form">
|
||||
<!ENTITY formToolbarCmd.tooltip "Insert new form or edit selected form's properties">
|
||||
|
||||
<!-- Editor toolbar -->
|
||||
<!ENTITY decreaseFontSizeToolbarCmd.tooltip "Smaller font size">
|
||||
<!ENTITY increaseFontSizeToolbarCmd.tooltip "Larger font size">
|
||||
<!ENTITY boldToolbarCmd.tooltip "Bold">
|
||||
<!ENTITY italicToolbarCmd.tooltip "Italic">
|
||||
<!ENTITY underlineToolbarCmd.tooltip "Underline">
|
||||
<!ENTITY bulletListToolbarCmd.tooltip "Apply or remove bulleted list">
|
||||
<!ENTITY numberListToolbarCmd.tooltip "Apply or remove numbered list">
|
||||
<!ENTITY outdentToolbarCmd.tooltip "Outdent text (move left)">
|
||||
<!ENTITY indentToolbarCmd.tooltip "Indent text (move right)">
|
||||
<!ENTITY AlignPopupButton.tooltip "Choose text alignment">
|
||||
<!ENTITY InsertPopupButton.tooltip "Insert a Link, Anchor, Image, Horizontal Line, or Table">
|
||||
<!ENTITY alignLeftButton.tooltip "Align text along left margin">
|
||||
<!ENTITY alignCenterButton.tooltip "Align text centered">
|
||||
<!ENTITY alignRightButton.tooltip "Align text along right margin">
|
||||
<!ENTITY alignjustifyButton.tooltip "Align text along left and right margins">
|
||||
|
||||
<!-- Formatting toolbar not used, but may be in future -->
|
||||
<!ENTITY formatToolbar.boldChar "B">
|
||||
<!ENTITY formatToolbar.italicChar "I">
|
||||
<!ENTITY formatToolbar.underlineChar "U">
|
||||
|
||||
<!-- Used with color pickers in Format toolbar and Format Menu -->
|
||||
<!ENTITY colorPicker.default.label "Reader's default color">
|
||||
<!ENTITY colorPicker.default.accesskey "r">
|
||||
<!ENTITY colorLabel.label "Color:">
|
||||
<!ENTITY ok.label "OK">
|
||||
|
||||
<!-- Display Mode toolbar and View menu items -->
|
||||
<!ENTITY NormalModeTab.label "Normal">
|
||||
<!ENTITY NormalMode.label "Normal Edit Mode">
|
||||
<!ENTITY NormalMode.accesskey "n">
|
||||
<!ENTITY NormalMode.tooltip "Show table borders and named anchors">
|
||||
<!ENTITY AllTagsMode.label "HTML Tags">
|
||||
<!ENTITY AllTagsMode.accesskey "A">
|
||||
<!ENTITY AllTagsMode.tooltip "Display icons for all HTML tags">
|
||||
|
||||
<!ENTITY HTMLSourceMode.label "HTML Source">
|
||||
<!-- Toolbar has an image with "HTML" text, so don't include it in the string -->
|
||||
<!ENTITY SourceMode.label "Source">
|
||||
<!ENTITY HTMLSourceMode.accesskey "h">
|
||||
<!ENTITY HTMLSourceMode.tooltip "Edit HTML source">
|
||||
<!ENTITY PreviewMode.label "Preview">
|
||||
<!ENTITY PreviewMode.accesskey "p">
|
||||
<!ENTITY PreviewMode.tooltip "Display as WYSIWYG (as in Navigator)">
|
||||
|
||||
<!-- LOCALIZATION NOTE: Do NOT translate text for 'SourceTabDirection'
|
||||
Use latin "ltr" if you want the <html> image to left of the
|
||||
'SourceMode.label' text defined above,
|
||||
or use latin "rtl" if you want this image to the right of text
|
||||
This is the value of the HTML 'dir' attribute
|
||||
-->
|
||||
<!ENTITY SourceTabDirection "ltr">
|
||||
|
||||
<!-- Structure Toolbar Context Menu items -->
|
||||
<!ENTITY structSelect.label "Select">
|
||||
<!ENTITY structSelect.accesskey "s">
|
||||
<!ENTITY structRemoveTag.label "Remove tag">
|
||||
<!ENTITY structRemoveTag.accesskey "r">
|
||||
<!ENTITY structChangeTag.label "Change tag">
|
||||
<!ENTITY structChangeTag.accesskey "c">
|
||||
|
||||
<!-- TOC manipulation -->
|
||||
<!ENTITY insertTOC.label "Insert">
|
||||
<!ENTITY insertTOC.accesskey "i">
|
||||
<!ENTITY updateTOC.label "Update">
|
||||
<!ENTITY updateTOC.accesskey "u">
|
||||
<!ENTITY removeTOC.label "Remove">
|
||||
<!ENTITY removeTOC.accesskey "r">
|
||||
<!ENTITY tocMenu.label "Table of Contents...">
|
||||
<!ENTITY tocMenu.accesskey "b">
|
||||
|
||||
<!-- Smart Widgets menu -->
|
||||
<!ENTITY insertSmartWidgetsMenu.label "Smart Widgets">
|
||||
<!ENTITY insertCalendarSW.label "Calendar">
|
||||
@@ -1,72 +0,0 @@
|
||||
<!-- ***** 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 Editor Toolbar Preferences.
|
||||
-
|
||||
- The Initial Developer of the Original Code is
|
||||
- Neil Rashbrook.
|
||||
- Portions created by the Initial Developer are Copyright (C) 2003
|
||||
- the Initial Developer. All Rights Reserved.
|
||||
-
|
||||
- Contributor(s): Neil Rashbrook <neil@parkwaycc.co.uk>
|
||||
-
|
||||
- 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 LGPL or the GPL. 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 ***** -->
|
||||
|
||||
<!ENTITY header.title "Toolbars">
|
||||
|
||||
<!ENTITY composition.caption "Show these buttons in the Composition Toolbar:">
|
||||
|
||||
<!ENTITY new.label "New">
|
||||
<!ENTITY open.label "Open">
|
||||
<!ENTITY save.label "Save">
|
||||
<!ENTITY publish.label "Publish">
|
||||
<!ENTITY preview.label "Browse">
|
||||
<!ENTITY cut.label "Cut">
|
||||
<!ENTITY copy.label "Copy">
|
||||
<!ENTITY paste.label "Paste">
|
||||
<!ENTITY print.label "Print">
|
||||
<!ENTITY find.label "Find">
|
||||
<!ENTITY image.label "Image">
|
||||
<!ENTITY hline.label "H. Line">
|
||||
<!ENTITY table.label "Table">
|
||||
<!ENTITY link.label "Link">
|
||||
<!ENTITY anchor.label "Anchor">
|
||||
<!ENTITY form.label "Form">
|
||||
|
||||
<!ENTITY formatting.caption "Show these buttons in the Formatting Toolbar:">
|
||||
|
||||
<!ENTITY smaller.label "Smaller">
|
||||
<!ENTITY larger.label "Larger">
|
||||
<!ENTITY bold.label "Bold">
|
||||
<!ENTITY bullets.label "Bullets">
|
||||
<!ENTITY numbers.label "Numbers">
|
||||
<!ENTITY italic.label "Italic">
|
||||
<!ENTITY outdent.label "Outdent">
|
||||
<!ENTITY indent.label "Indent">
|
||||
<!ENTITY underline.label "Underline">
|
||||
|
||||
<!ENTITY absolutePosition.label "Absolute positioning">
|
||||
<!ENTITY decreaseZIndex.label "Sent to back">
|
||||
<!ENTITY increaseZIndex.label "Bring to front">
|
||||
@@ -1,32 +0,0 @@
|
||||
#aboutDialog {
|
||||
padding: 0px 0px 10px 0px;
|
||||
}
|
||||
|
||||
#clientBox {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
#brandName {
|
||||
font-weight: bold; font-size: larger;
|
||||
}
|
||||
|
||||
#detailsBox {
|
||||
padding: 8px 10px 10px 8px;
|
||||
}
|
||||
|
||||
#versionField {
|
||||
background-color: #FFFFFF;
|
||||
-moz-appearance: none;
|
||||
border: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#copyright {
|
||||
color: blue;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#groove {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
@@ -1,78 +0,0 @@
|
||||
/* ***** 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 Mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Joe Hewitt <hewitt@netscape.com>
|
||||
* Daniel Glazman <daniel@glazman.org>, on behalf of Lindows.com
|
||||
*
|
||||
* 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 ***** */
|
||||
|
||||
/* ==== communicator.css ====================================================
|
||||
== Styles shared everywhere throughout the Communicator suite.
|
||||
========================================================================== */
|
||||
|
||||
@import url("chrome://global/skin/");
|
||||
@import url("chrome://communicator/content/communicator.css");
|
||||
@import url("chrome://communicator/skin/formatting.css");
|
||||
|
||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
.toolbar-primary {
|
||||
-moz-binding: url("chrome://global/content/widgets/toolbar.xml#toolbar");
|
||||
}
|
||||
|
||||
/* ::::: throbber ::::: */
|
||||
|
||||
#navigator-throbber {
|
||||
-moz-appearance: none;
|
||||
-moz-user-focus: ignore;
|
||||
margin: 0 !important;
|
||||
border: none !important;
|
||||
padding: 0px !important;
|
||||
min-width: 0;
|
||||
background-color: transparent;
|
||||
list-style-image: url("chrome://editor/skin/icons/throbber-single.gif");
|
||||
}
|
||||
|
||||
#navigator-throbber[busy="true"] {
|
||||
list-style-image: url("chrome://editor/skin/icons/throbber-single.gif");
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #navigator-throbber,
|
||||
toolbar[mode="text"] #navigator-throbber {
|
||||
list-style-image: url("chrome://editor/skin/icons/throbber-small.png");
|
||||
}
|
||||
toolbar[iconsize="small"] #navigator-throbber[busy="true"],
|
||||
toolbar[mode="text"] #navigator-throbber[busy="true"] {
|
||||
list-style-image: url("chrome://editor/skin/icons/throbber-small.gif");
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/* ***** 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 Mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998-1999
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Daniel Glazman <daniel@glazman.org>, on behalf of Lindows.com
|
||||
*
|
||||
* 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 ***** */
|
||||
|
||||
@import url("chrome://editor/skin/");
|
||||
@import url("chrome://editor/skin/editorPrimaryToolbar.css");
|
||||
@import url("chrome://editor/skin/editorFormatToolbar.css");
|
||||
@import url("chrome://editor/skin/editorModeToolbar.css");
|
||||
|
||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
@@ -1,356 +0,0 @@
|
||||
/* ***** 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 mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Joe Hewitt <hewitt@netscape.com>
|
||||
* Daniel Glazman <daniel@glazman.org>, on behalf of Lindows.com
|
||||
*
|
||||
* 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 ***** */
|
||||
|
||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
/* ::::: primary toolbar masthead ::::: */
|
||||
|
||||
#EditToolbar > .toolbar-holder > .toolbar-primary-icon {
|
||||
background-image: url("chrome://editor/skin/icons/mast-editor.gif");
|
||||
width: 57px;
|
||||
}
|
||||
|
||||
.toolbar-primary-icon {
|
||||
width: 57px;
|
||||
}
|
||||
|
||||
/* ::::: primary toolbar buttons ::::: */
|
||||
|
||||
.toolbarbutton-1 {
|
||||
-moz-box-orient: vertical;
|
||||
}
|
||||
|
||||
.toolbarbutton-1[type="menu"] > .toolbarbutton-menu-dropmarker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
toolbar[mode="icons"] .toolbarbutton-text {
|
||||
display: none;
|
||||
}
|
||||
|
||||
toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
|
||||
toolbar[mode="text"] .toolbarbutton-icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
toolbar[mode="text"] .toolbarbutton-text {
|
||||
padding: 0 !important;
|
||||
margin: 3px 5px !important;
|
||||
}
|
||||
|
||||
/* ::::: primary toolbar buttons ::::: */
|
||||
|
||||
.toolbarseparator-primary {
|
||||
width: 9px !important;
|
||||
}
|
||||
|
||||
#newButton {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-newmsg.png");
|
||||
}
|
||||
|
||||
#newButton:hover {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-newmsg-hover.png");
|
||||
}
|
||||
|
||||
#newButton:hover:active {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-newmsg-active.png");
|
||||
}
|
||||
|
||||
#newButton[disabled="true"] {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-newmsg-disabled.png");
|
||||
}
|
||||
|
||||
#openButton {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-open.png");
|
||||
}
|
||||
|
||||
#openButton:hover {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-open-hover.png");
|
||||
}
|
||||
|
||||
#openButton:hover:active {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-open-active.png");
|
||||
}
|
||||
|
||||
#openButton[disabled="true"] {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-open-disabled.png");
|
||||
}
|
||||
|
||||
#saveButton {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-save.png");
|
||||
}
|
||||
|
||||
#saveButton:hover {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-save-hover.png");
|
||||
}
|
||||
|
||||
#saveButton:hover:active {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-save-active.png");
|
||||
}
|
||||
|
||||
#saveButton[disabled="true"] {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-save-disabled.png");
|
||||
}
|
||||
|
||||
#publishButton {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-publish.png");
|
||||
}
|
||||
|
||||
#publishButton:hover {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-publish-hover.png");
|
||||
}
|
||||
|
||||
#publishButton:hover:active {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-publish-active.png");
|
||||
}
|
||||
|
||||
#publishButton[disabled="true"] {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-publish-disabled.png");
|
||||
}
|
||||
|
||||
#previewButton {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-preview.png");
|
||||
}
|
||||
|
||||
#previewButton:hover {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-preview-hover.png");
|
||||
}
|
||||
|
||||
#previewButton:hover:active {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-preview-active.png");
|
||||
}
|
||||
|
||||
#previewButton[disabled="true"] {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-preview-disabled.png");
|
||||
}
|
||||
|
||||
#copyButton {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-ed-imap.png");
|
||||
-moz-image-region: rect(0 32px 32px 0);
|
||||
}
|
||||
|
||||
#copyButton:hover {
|
||||
-moz-image-region: rect(32px 32px 64px 0);
|
||||
}
|
||||
|
||||
#copyButton:hover:active {
|
||||
-moz-image-region: rect(64px 32px 96px 0);
|
||||
}
|
||||
|
||||
#copyButton[disabled="true"] {
|
||||
-moz-image-region: rect(96px 32px 128px 0);
|
||||
}
|
||||
|
||||
#cutButton {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-ed-imap.png");
|
||||
-moz-image-region: rect(0 64px 32px 32px);
|
||||
}
|
||||
|
||||
#cutButton:hover {
|
||||
-moz-image-region: rect(32px 64px 64px 32px);
|
||||
}
|
||||
|
||||
#cutButton:hover:active {
|
||||
-moz-image-region: rect(64px 64px 96px 32px);
|
||||
}
|
||||
|
||||
#cutButton[disabled="true"] {
|
||||
-moz-image-region: rect(96px 64px 128px 32px);
|
||||
}
|
||||
|
||||
#findButton {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-ed-imap.png");
|
||||
-moz-image-region: rect(0 128px 32px 96px);
|
||||
}
|
||||
|
||||
#findButton:hover {
|
||||
-moz-image-region: rect(32px 128px 64px 96px);
|
||||
}
|
||||
|
||||
#findButton:hover:active {
|
||||
-moz-image-region: rect(64px 128px 96px 96px);
|
||||
}
|
||||
|
||||
#findButton[disabled="true"] {
|
||||
-moz-image-region: rect(96px 128px 128px 96px);
|
||||
}
|
||||
|
||||
#pasteButton {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-ed-imap.png");
|
||||
-moz-image-region: rect(0 96px 32px 64px);
|
||||
}
|
||||
|
||||
#pasteButton:hover {
|
||||
-moz-image-region: rect(32px 96px 64px 64px);
|
||||
}
|
||||
|
||||
#pasteButton:hover:active {
|
||||
-moz-image-region: rect(64px 96px 96px 64px);
|
||||
}
|
||||
|
||||
#pasteButton[disabled="true"] {
|
||||
-moz-image-region: rect(96px 96px 128px 64px);
|
||||
}
|
||||
|
||||
#printButton {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-print.png");
|
||||
}
|
||||
|
||||
#printButton:hover {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-print-hover.png");
|
||||
}
|
||||
|
||||
#printButton:hover:active {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-print-active.png");
|
||||
}
|
||||
|
||||
#printButton[disabled="true"] {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-print-disabled.png");
|
||||
}
|
||||
|
||||
#linkButton {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-link.png");
|
||||
}
|
||||
|
||||
#linkButton:hover {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-link-hover.png");
|
||||
}
|
||||
|
||||
#linkButton:hover:active {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-link-active.png");
|
||||
}
|
||||
|
||||
#linkButton[disabled="true"] {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-link-disabled.png");
|
||||
}
|
||||
|
||||
#imageButton {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-image.png");
|
||||
}
|
||||
|
||||
#imageButton:hover {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-image-hover.png");
|
||||
}
|
||||
|
||||
#imageButton:hover:active {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-image-active.png");
|
||||
}
|
||||
|
||||
#imageButton[disabled="true"] {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-image-disabled.png");
|
||||
}
|
||||
|
||||
#namedAnchorButton {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-anchor.png");
|
||||
}
|
||||
|
||||
#namedAnchorButton:hover {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-anchor-hover.png");
|
||||
}
|
||||
|
||||
#namedAnchorButton:hover:active {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-anchor-active.png");
|
||||
}
|
||||
|
||||
#namedAnchorButton[disabled="true"] {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-anchor-disabled.png");
|
||||
}
|
||||
|
||||
#hlineButton {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-hline.png");
|
||||
}
|
||||
|
||||
#hlineButton:hover {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-hline-hover.png");
|
||||
}
|
||||
|
||||
#hlineButton:hover:active {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-hline-active.png");
|
||||
}
|
||||
|
||||
#hlineButton[disabled="true"] {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-hline-disabled.png");
|
||||
}
|
||||
|
||||
#tableButton {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-table.png");
|
||||
}
|
||||
|
||||
#tableButton:hover {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-table-hover.png");
|
||||
}
|
||||
|
||||
#tableButton:hover:active {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-table-active.png");
|
||||
}
|
||||
|
||||
#tableButton[disabled="true"] {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-table-disabled.png");
|
||||
}
|
||||
|
||||
#spellingButton {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-spell.png");
|
||||
}
|
||||
|
||||
#spellingButton:hover {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-spell-hover.png");
|
||||
}
|
||||
|
||||
#spellingButton:hover:active {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-spell-active.png");
|
||||
}
|
||||
|
||||
#spellingButton[disabled="true"] {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-spell-disabled.png");
|
||||
}
|
||||
|
||||
#formButton {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-form.png");
|
||||
}
|
||||
|
||||
#formButton:hover {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-form-hover.png");
|
||||
}
|
||||
|
||||
#formButton:hover:active {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-form-active.png");
|
||||
}
|
||||
|
||||
#formButton[disabled="true"] {
|
||||
list-style-image: url("chrome://editor/skin/icons/orbit-button2-form-disabled.png");
|
||||
}
|
||||
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
@@ -1,147 +0,0 @@
|
||||
/* ***** 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 mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998-1999
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Joe Hewitt <hewitt@netscape.com>
|
||||
* Daniel Glazman <daniel@glazman.org>, on behalf of Lindows.com
|
||||
*
|
||||
* 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 ***** */
|
||||
|
||||
/* ===== toolbarbutton.css =====================================================
|
||||
== Styles used by the XUL button element.
|
||||
======================================================================= */
|
||||
|
||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
/* ::::: toolbarbutton ::::: */
|
||||
|
||||
toolbarbutton {
|
||||
-moz-appearance: toolbarbutton;
|
||||
-moz-box-align: center;
|
||||
-moz-box-pack: center;
|
||||
margin: 0;
|
||||
border: 1px solid transparent;
|
||||
padding: 3px;
|
||||
background-color: transparent;
|
||||
color: -moz-DialogText;
|
||||
}
|
||||
|
||||
.toolbarbutton-icon {
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.toolbarbutton-text {
|
||||
margin: 0 !important;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
toolbarbutton:hover {
|
||||
border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight;
|
||||
}
|
||||
|
||||
toolbarbutton:hover:active,
|
||||
toolbarbutton[open="true"] {
|
||||
border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow;
|
||||
padding: 4px 2px 2px 4px;
|
||||
}
|
||||
|
||||
toolbarbutton[disabled="true"],
|
||||
toolbarbutton[disabled="true"]:hover,
|
||||
toolbarbutton[disabled="true"]:hover:active,
|
||||
toolbarbutton[disabled="true"][open="true"] {
|
||||
border-color: transparent;
|
||||
padding: 3px;
|
||||
color: GrayText;
|
||||
}
|
||||
|
||||
/* ..... checked state ..... */
|
||||
|
||||
toolbarbutton[checked="true"] {
|
||||
border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow !important;
|
||||
padding: 4px 2px 2px 4px !important;
|
||||
background-image: url("chrome://global/skin/toolbar/Lighten.png");
|
||||
color: ButtonText !important;
|
||||
}
|
||||
|
||||
/* ::::: toolbarbutton menu ::::: */
|
||||
|
||||
.toolbarbutton-menu-dropmarker {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
|
||||
}
|
||||
|
||||
.toolbarbutton-menu-dropmarker[disabled="true"] {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
|
||||
}
|
||||
|
||||
/* ::::: toolbarbutton menu-button ::::: */
|
||||
|
||||
toolbarbutton[type="menu-button"] {
|
||||
-moz-box-align: stretch;
|
||||
-moz-box-orient: horizontal !important;
|
||||
-moz-appearance: dualbutton;
|
||||
}
|
||||
|
||||
toolbarbutton[type="menu-button"],
|
||||
toolbarbutton[type="menu-button"]:hover,
|
||||
toolbarbutton[type="menu-button"]:hover:active,
|
||||
toolbarbutton[type="menu-button"][open="true"],
|
||||
toolbarbutton[type="menu-button"][disabled="true"],
|
||||
toolbarbutton[type="menu-button"][disabled="true"]:hover,
|
||||
toolbarbutton[type="menu-button"][disabled="true"]:hover:active {
|
||||
border-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.toolbarbutton-menubutton-button {
|
||||
-moz-box-align: center;
|
||||
-moz-box-pack: center;
|
||||
-moz-box-orient: vertical;
|
||||
}
|
||||
|
||||
/* .......... dropmarker .......... */
|
||||
|
||||
.toolbarbutton-menubutton-dropmarker {
|
||||
-moz-box-align: center;
|
||||
padding: 0 0 1px 0;
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
|
||||
-moz-appearance: dualbutton-dropdown;
|
||||
}
|
||||
|
||||
.toolbarbutton-menubutton-dropmarker[disabled="true"] {
|
||||
padding: 0 0 1px 0 !important;
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif") !important;
|
||||
}
|
||||
|
||||
toolbarbutton[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
|
||||
toolbarbutton[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker {
|
||||
padding: 1px 0 0 0;
|
||||
}
|
||||
@@ -1,60 +1,20 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta content="text/html; charset=ISO-8859-1"
|
||||
http-equiv="content-type">
|
||||
<title>Building Standalone Composer</title>
|
||||
<meta content="text/html; charset=us-ascii"
|
||||
http-equiv="content-type">
|
||||
|
||||
<title>Building Standalone Composer</title>
|
||||
<style type="text/css">
|
||||
body { font-family: Arial,Helvetica,sans-serif;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h2 style="border-bottom: thin solid black;">Getting the source and
|
||||
building Standalone Composer</h2>
|
||||
<h3>UNIX, Windows (gmake)</h3>
|
||||
<ol>
|
||||
<li>Create a .mozconfig file in your home directory, or in the
|
||||
mozilla directory, containing the following:<br>
|
||||
<br>
|
||||
<code>ac_add_options --enable-crypto<br>
|
||||
ac_add_options --disable-debug<br>
|
||||
<span style="color: rgb(255, 0, 0);">ac_add_options
|
||||
--enable-optimize=-O2</span><br>
|
||||
ac_add_options --disable-ldap<br>
|
||||
ac_add_options --disable-mailnews<br>
|
||||
ac_add_options --disable-mathml<br>
|
||||
ac_add_options --disable-installer<br>
|
||||
ac_add_options --disable-activex<br>
|
||||
ac_add_options --disable-activex-scripting<br>
|
||||
ac_add_options --disable-tests<br>
|
||||
ac_add_options --disable-oji<br>
|
||||
ac_add_options --disable-necko-disk-cache<br>
|
||||
ac_add_options --disable-profilesharing<br>
|
||||
ac_add_options
|
||||
--enable-extensions=cookie,xml-rpc,xmlextras,pref,universalchardet,webservices<br>
|
||||
<br>
|
||||
# Note: Only include icon for mac, windows and os2<br>
|
||||
ac_add_options --enable-image-decoders=icon,png,gif,jpeg<br>
|
||||
<br>
|
||||
<br>
|
||||
export MOZ_STANDALONE_COMPOSER=1<br>
|
||||
mk_add_options MOZ_STANDALONE_COMPOSER=1<br>
|
||||
<br>
|
||||
</code>
|
||||
<p><span style="font-weight: bold; color: rgb(255, 0, 0);">Warning</span>:
|
||||
DO NOT USE <code>--enable-optimize=-O2</code>
|
||||
on Windows. There are bugs. Simply use <code>--enable-optimize</code>.</p>
|
||||
</li>
|
||||
<li>Pull from CVS and build as described in the <a
|
||||
href="http://www.mozilla.org/build/unix.html">Mozilla build
|
||||
instructions</a>.</li>
|
||||
<li>If your build breaks in mozilla/toolkit/components/console,
|
||||
during some JAR packaging, you may be running into <a
|
||||
href="http://bugzilla.mozilla.org/show_bug.cgi?id=206785">Bug #206785</a>
|
||||
where the xul pre-processor is dying. A temporary work around is listed
|
||||
in the bug, just replace MOZ_THUNDERBIRD by MOZ_STANDALONE_COMPOSER<br>
|
||||
</li>
|
||||
<li>Run the <code>composer </code>executable that is left in
|
||||
dist/bin</li>
|
||||
</ol>
|
||||
<br>
|
||||
<br>
|
||||
<h1>Mozilla Composer</h1>
|
||||
|
||||
<p>The new xulrunner-based Web editor</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||