267 *+ content/global/bindings/splitter.xml (widgets/splitter.xml) |
267 *+ content/global/bindings/splitter.xml (widgets/splitter.xml) |
268 diff --git a/toolkit/content/widgets/dialog-kde.xml b/toolkit/content/widgets/dialog-kde.xml |
268 diff --git a/toolkit/content/widgets/dialog-kde.xml b/toolkit/content/widgets/dialog-kde.xml |
269 new file mode 100644 |
269 new file mode 100644 |
270 --- /dev/null |
270 --- /dev/null |
271 +++ b/toolkit/content/widgets/dialog-kde.xml |
271 +++ b/toolkit/content/widgets/dialog-kde.xml |
272 @@ -0,0 +1,447 @@ |
272 @@ -0,0 +1,451 @@ |
273 +<?xml version="1.0"?> |
273 +<?xml version="1.0"?> |
|
274 +<!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
275 + - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
276 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
277 + |
274 + |
278 + |
275 +<bindings id="dialogBindings" |
279 +<bindings id="dialogBindings" |
276 + xmlns="http://www.mozilla.org/xbl" |
280 + xmlns="http://www.mozilla.org/xbl" |
277 + xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
281 + xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
278 + xmlns:xbl="http://www.mozilla.org/xbl"> |
282 + xmlns:xbl="http://www.mozilla.org/xbl"> |
299 + <xul:button dlgtype="accept" class="dialog-button" xbl:inherits="disabled=buttondisabledaccept"/> |
303 + <xul:button dlgtype="accept" class="dialog-button" xbl:inherits="disabled=buttondisabledaccept"/> |
300 +#elif XP_UNIX |
304 +#elif XP_UNIX |
301 + pack="end"> |
305 + pack="end"> |
302 + <xul:button dlgtype="help" class="dialog-button" hidden="true"/> |
306 + <xul:button dlgtype="help" class="dialog-button" hidden="true"/> |
303 + <xul:button dlgtype="extra2" class="dialog-button" hidden="true"/> |
307 + <xul:button dlgtype="extra2" class="dialog-button" hidden="true"/> |
304 + <xul:spacer anonid="spacer" flex="1" hidden="true"/> |
308 + <xul:spacer anonid="spacer" flex="1"/> |
305 + <xul:button dlgtype="accept" class="dialog-button" xbl:inherits="disabled=buttondisabledaccept"/> |
309 + <xul:button dlgtype="accept" class="dialog-button" xbl:inherits="disabled=buttondisabledaccept"/> |
306 + <xul:button dlgtype="extra1" class="dialog-button" hidden="true"/> |
310 + <xul:button dlgtype="extra1" class="dialog-button" hidden="true"/> |
307 + <xul:button dlgtype="cancel" class="dialog-button"/> |
311 + <xul:button dlgtype="cancel" class="dialog-button"/> |
308 + <xul:button dlgtype="disclosure" class="dialog-button" hidden="true"/> |
312 + <xul:button dlgtype="disclosure" class="dialog-button" hidden="true"/> |
309 +#else |
313 +#else |
719 +</bindings> |
723 +</bindings> |
720 diff --git a/toolkit/content/widgets/preferences-kde.xml b/toolkit/content/widgets/preferences-kde.xml |
724 diff --git a/toolkit/content/widgets/preferences-kde.xml b/toolkit/content/widgets/preferences-kde.xml |
721 new file mode 100644 |
725 new file mode 100644 |
722 --- /dev/null |
726 --- /dev/null |
723 +++ b/toolkit/content/widgets/preferences-kde.xml |
727 +++ b/toolkit/content/widgets/preferences-kde.xml |
724 @@ -0,0 +1,1373 @@ |
728 @@ -0,0 +1,1339 @@ |
725 +<?xml version="1.0"?> |
729 +<?xml version="1.0"?> |
726 + |
730 + |
727 +<!DOCTYPE bindings [ |
731 +<!DOCTYPE bindings [ |
728 + <!ENTITY % preferencesDTD SYSTEM "chrome://global/locale/preferences.dtd"> |
732 + <!ENTITY % preferencesDTD SYSTEM "chrome://global/locale/preferences.dtd"> |
729 + %preferencesDTD; |
733 + %preferencesDTD; |
1306 + <xul:spacer anonid="spacer" flex="1"/> |
1310 + <xul:spacer anonid="spacer" flex="1"/> |
1307 + <xul:button dlgtype="cancel" class="dialog-button" icon="cancel"/> |
1311 + <xul:button dlgtype="cancel" class="dialog-button" icon="cancel"/> |
1308 + <xul:button dlgtype="accept" class="dialog-button" icon="accept"/> |
1312 + <xul:button dlgtype="accept" class="dialog-button" icon="accept"/> |
1309 +#elif XP_UNIX |
1313 +#elif XP_UNIX |
1310 + pack="end"> |
1314 + pack="end"> |
1311 + <xul:button dlgtype="help" class="dialog-button" hidden="true" icon="help"/> |
1315 + <xul:button dlgtype="help" class="dialog-button" hidden="true" icon="help"/> |
1312 + <xul:button dlgtype="extra2" class="dialog-button" hidden="true"/> |
1316 + <xul:button dlgtype="extra2" class="dialog-button" hidden="true"/> |
1313 + <xul:spacer anonid="spacer" flex="1"/> |
1317 + <xul:spacer anonid="spacer" flex="1"/> |
1314 + <xul:button dlgtype="accept" class="dialog-button" icon="accept"/> |
1318 + <xul:button dlgtype="accept" class="dialog-button" icon="accept"/> |
1315 + <xul:button dlgtype="extra1" class="dialog-button" hidden="true"/> |
1319 + <xul:button dlgtype="extra1" class="dialog-button" hidden="true"/> |
1316 + <xul:button dlgtype="cancel" class="dialog-button" icon="cancel"/> |
1320 + <xul:button dlgtype="cancel" class="dialog-button" icon="cancel"/> |
1317 + <xul:button dlgtype="disclosure" class="dialog-button" hidden="true"/> |
1321 + <xul:button dlgtype="disclosure" class="dialog-button" hidden="true"/> |
1984 + </field> |
1988 + </field> |
1985 + </implementation> |
1989 + </implementation> |
1986 + <handlers> |
1990 + <handlers> |
1987 + <handler event="command"> |
1991 + <handler event="command"> |
1988 + // This "command" event handler tracks changes made to preferences by |
1992 + // This "command" event handler tracks changes made to preferences by |
1989 + // the user in this window. |
1993 + // the user in this window. |
1990 + if (event.sourceEvent) |
1994 + if (event.sourceEvent) |
1991 + event = event.sourceEvent; |
1995 + event = event.sourceEvent; |
1992 + this.userChangedValue(event.target); |
1996 + this.userChangedValue(event.target); |
1993 + </handler> |
1997 + </handler> |
1994 + <handler event="select"> |
1998 + <handler event="select"> |
1995 + // This "select" event handler tracks changes made to colorpicker |
1999 + // This "select" event handler tracks changes made to colorpicker |
1996 + // preferences by the user in this window. |
2000 + // preferences by the user in this window. |
2045 + </binding> |
2049 + </binding> |
2046 + |
2050 + |
2047 +</bindings> |
2051 +</bindings> |
2048 + |
2052 + |
2049 +# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- |
2053 +# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- |
2050 +# ***** BEGIN LICENSE BLOCK ***** |
2054 +# This Source Code Form is subject to the terms of the Mozilla Public |
2051 +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
2055 +# License, v. 2.0. If a copy of the MPL was not distributed with this |
2052 +# |
2056 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. |
2053 +# The contents of this file are subject to the Mozilla Public License Version |
|
2054 +# 1.1 (the "License"); you may not use this file except in compliance with |
|
2055 +# the License. You may obtain a copy of the License at |
|
2056 +# http://www.mozilla.org/MPL/ |
|
2057 +# |
|
2058 +# Software distributed under the License is distributed on an "AS IS" basis, |
|
2059 +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
|
2060 +# for the specific language governing rights and limitations under the |
|
2061 +# License. |
|
2062 +# |
|
2063 +# The Original Code is the Preferences System. |
|
2064 +# |
|
2065 +# The Initial Developer of the Original Code is |
|
2066 +# Ben Goodger. |
|
2067 +# Portions created by the Initial Developer are Copyright (C) 2005 |
|
2068 +# the Initial Developer. All Rights Reserved. |
|
2069 +# |
|
2070 +# Contributor(s): |
|
2071 +# Ben Goodger <ben@mozilla.org> |
|
2072 +# Josh Aas <josh@mozilla.com> |
|
2073 +# |
|
2074 +# Alternatively, the contents of this file may be used under the terms of |
|
2075 +# either the GNU General Public License Version 2 or later (the "GPL"), or |
|
2076 +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
|
2077 +# in which case the provisions of the GPL or the LGPL are applicable instead |
|
2078 +# of those above. If you wish to allow use of your version of this file only |
|
2079 +# under the terms of either the GPL or the LGPL, and not to allow others to |
|
2080 +# use your version of this file under the terms of the MPL, indicate your |
|
2081 +# decision by deleting the provisions above and replace them with the notice |
|
2082 +# and other provisions required by the GPL or the LGPL. If you do not delete |
|
2083 +# the provisions above, a recipient may use your version of this file under |
|
2084 +# the terms of any one of the MPL, the GPL or the LGPL. |
|
2085 +# |
|
2086 +# ***** END LICENSE BLOCK ***** |
|
2087 + |
2057 + |
2088 +# |
2058 +# |
2089 +# This is PrefWindow 6. The Code Could Well Be Ready, Are You? |
2059 +# This is PrefWindow 6. The Code Could Well Be Ready, Are You? |
2090 +# |
2060 +# |
2091 +# Historical References: |
2061 +# Historical References: |