Overview
| Comment: | [tb] center spell options dialog window |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | tb | tbnext |
| Files: | files | file ages | folders |
| SHA3-256: |
7ed7293d91dd23e46604b45761949465 |
| User & Date: | olr on 2018-08-06 16:39:53 |
| Other Links: | branch diff | manifest | tags |
Context
|
2018-08-06
| ||
| 16:43 | [tb] merge tbnext: update Thunderbird extension for Thunderbird 60 (API update) check-in: b5dece919f user: olr tags: trunk, tb | |
| 16:39 | [tb] center spell options dialog window Closed-Leaf check-in: 7ed7293d91 user: olr tags: tb, tbnext | |
|
2018-07-01
| ||
| 20:42 | merge trunk check-in: 6333b39383 user: olr tags: tbnext | |
Changes
Modified gc_lang/fr/tb/content/spell_options.js from [7effbbff93] to [4e9d9b0e95].
| ︙ | ︙ | |||
8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
// const Cu = Components.utils;
const prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefService).getBranch("extensions.grammarchecker.");
var oDialogControl = {
load: function () {
try {
// Graphspell dictionaries
document.getElementById('personal_dic').checked = prefs.getBoolPref('bPersonalDictionary');
// Hunspell dictionaries
document.getElementById('fr-FR-modern').checked = prefs.getBoolPref('bDictModern');
document.getElementById('fr-FR-classic').checked = prefs.getBoolPref('bDictClassic');
document.getElementById('fr-FR-reform').checked = prefs.getBoolPref('bDictReform');
document.getElementById('fr-FR-classic-reform').checked = prefs.getBoolPref('bDictClassicReform');
| > | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
// const Cu = Components.utils;
const prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefService).getBranch("extensions.grammarchecker.");
var oDialogControl = {
load: function () {
try {
document.getElementById('grammalecte-spelloptions-window').centerWindowOnScreen();
// Graphspell dictionaries
document.getElementById('personal_dic').checked = prefs.getBoolPref('bPersonalDictionary');
// Hunspell dictionaries
document.getElementById('fr-FR-modern').checked = prefs.getBoolPref('bDictModern');
document.getElementById('fr-FR-classic').checked = prefs.getBoolPref('bDictClassic');
document.getElementById('fr-FR-reform').checked = prefs.getBoolPref('bDictReform');
document.getElementById('fr-FR-classic-reform').checked = prefs.getBoolPref('bDictClassicReform');
|
| ︙ | ︙ |
Modified gc_lang/fr/tb/content/spell_options.xul from [0bf8fff0cb] to [996cd1abbc].
| ︙ | ︙ | |||
13 14 15 16 17 18 19 | ondialogcancel="return;" width="400" height="480" onload="oDialogControl.load();" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <!-- Other elements go here --> | | | | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
ondialogcancel="return;"
width="400"
height="480"
onload="oDialogControl.load();"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- Other elements go here -->
<dialogheader id="grammalecte-title" title="&dialogheader.label;" description=""/>
<hbox>
<!--
<groupbox with="380">
<caption id="grouptitle" label="&grouptitle_hunspell;" />
<description id="warning">&warning_hunspell;</description>
<checkbox id="fr-FR-modern" class="option" label="&option.modern.label;" />
<description class="dicdescr">&option.modern.descr;</description>
<checkbox id="fr-FR-classic" class="option" label="&option.classic.label;" />
<description class="dicdescr">&option.classic.descr;</description>
<checkbox id="fr-FR-reform" class="option" label="&option.reform.label;" />
<description class="dicdescr">&option.reform.descr;</description>
<checkbox id="fr-FR-classic-reform" class="option" label="&option.allvar.label;" />
|
| ︙ | ︙ |