Commit c2f036d7 authored by CardBook's avatar CardBook

version 26.7

parent 390d4a0a
......@@ -38,9 +38,9 @@ skin cardbook-os classic/1.0 chrome/skin/os/windows/ os=
skin cardbook-os classic/1.0 chrome/skin/os/mac/ os=Darwin
# support for customizing toolbars
style chrome://global/content/customizeToolbar.xul chrome://cardbook-osversion/skin/mainToolbarButton.css appversion<=58.0b3
style chrome://global/content/customizeToolbar.xul chrome://cardbook-osversion/skin/mainToolbarButton.css appversion<59.0a1
style chrome://messenger/content/customizeToolbar.xul chrome://cardbook-osversion/skin/mainToolbarButton.css appversion>=59.0a1
style chrome://global/content/customizeToolbar.xul chrome://cardbook-osversion/skin/cardbookToolbarButtons.css appversion<=58.0b3
style chrome://global/content/customizeToolbar.xul chrome://cardbook-osversion/skin/cardbookToolbarButtons.css appversion<59.0a1
style chrome://messenger/content/customizeToolbar.xul chrome://cardbook-osversion/skin/cardbookToolbarButtons.css appversion>=59.0a1
# support for CardBook, yellow stars, creation from emails, formatting email fields
......
......@@ -58,7 +58,7 @@ if ("undefined" == typeof(wdw_addressbooksAdd)) {
var contacts = contactManager.directories;
while ( contacts.hasMoreElements() ) {
var contact = contacts.getNext().QueryInterface(Components.interfaces.nsIAbDirectory);
if (contact.dirPrefId == "ldap_2.servers.history" && window.arguments[0].action == "first") {
if (contact.dirPrefId == "ldap_2.servers.history") {
wdw_addressbooksAdd.gStandardAddressbooks.push([contact.dirPrefId, contact.dirName, true]);
} else {
wdw_addressbooksAdd.gStandardAddressbooks.push([contact.dirPrefId, contact.dirName, false]);
......
......@@ -707,7 +707,7 @@ var cardbookRepository = {
result.push(["true", "include", "allMailAccounts", aDirPrefId, ""]);
for (var i = 0; i < result.length; i++) {
cardbookPreferences.cardbookPreferences(i.toString(), result[i][0] + "::" + result[i][1] + "::" + result[i][2] + "::" + result[i][3] + "::" + result[i][4]);
cardbookPreferences.setEmailsCollection(i.toString(), result[i][0] + "::" + result[i][1] + "::" + result[i][2] + "::" + result[i][3] + "::" + result[i][4]);
}
},
......
......@@ -89,8 +89,9 @@ if ("undefined" == typeof(ovl_synchro)) {
prefs.setBoolPref("viewABContact", true);
prefs.setCharPref("accountsShown", "all");
prefs.setCharPref("accountShown", "");
prefs.setCharPref("uncategorizedCards", "");
prefs.setCharPref("addonVersion", "26.6");
prefs.setCharPref("addonVersion", "26.7");
},
lEventTimerSync : { notify: function(lTimerSync) {
......
......@@ -136,6 +136,8 @@ if ("undefined" == typeof(wdw_cardbook)) {
// in case of opening a new window without having a reload
wdw_cardbook.loadCssRules();
wdw_cardbook.refreshAccountsInDirTree();
var accountShown = cardbookPreferences.getStringPref("extensions.cardbook.accountShown");
cardbookUtils.setSelectedAccount(accountShown, wdw_cardbook.currentFirstVisibleRow, wdw_cardbook.currentLastVisibleRow);
},
syncAccountFromAccountsOrCats: function () {
......@@ -257,6 +259,7 @@ if ("undefined" == typeof(wdw_cardbook)) {
var myAccountId = myTree.view.getCellText(0, {id: "accountId"});
}
wdw_cardbook.clearCard();
cardbookPreferences.setStringPref("extensions.cardbook.accountShown", cardbookUtils.getAccountId(myAccountId));
wdw_cardbook.refreshWindow("accountid:" + myAccountId);
},
......
......@@ -439,4 +439,4 @@ wdw_passwordNewTitle=URL editor
dateDisplayedFormatLong=Long: %1
dateDisplayedFormatShort=Short: %1
addressFormatFormula=({{3}}\n|)({{1}}\n|)({{4}} |)({{5}} |)({{6}}|)(\n)({{7}}|)
addressFormatFormula=({{3}}\n|)({{1}}\n|)({{4}} |)({{6}}|)(\n)({{5}}\n|)({{7}}|)
......@@ -439,4 +439,4 @@ wdw_passwordNewTitle=URL 주소 편집기
dateDisplayedFormatLong=긴: %1
dateDisplayedFormatShort=짧은: %1
addressFormatFormula=({{3}}\n|)({{1}}\n|)({{4}} |)({{5}} |)({{6}}|)(\n)({{7}}|)
addressFormatFormula=({{3}}\n|)({{1}}\n|)({{4}} |)({{6}}|)(\n)({{5}}\n|)({{7}}|)
......@@ -439,4 +439,4 @@ wdw_passwordNewTitle=Chỉnh sửa Địa chỉ URL
dateDisplayedFormatLong=Dài: %1
dateDisplayedFormatShort=Ngắn: %1
addressFormatFormula=({{3}}\n|)({{1}}\n|)({{4}} |)({{5}} |)({{6}}|)(\n)({{7}}|)
addressFormatFormula=({{3}}\n|)({{1}}\n|)({{4}} |)({{6}}|)(\n)({{5}}\n|)({{7}}|)
......@@ -6,7 +6,7 @@
<Description about="urn:mozilla:install-manifest">
<em:id>cardbook@vigneau.philippe</em:id>
<em:name>CardBook</em:name>
<em:version>26.6</em:version>
<em:version>26.7</em:version>
<em:type>2</em:type>
<em:description>vCard Address Book</em:description>
<em:creator>Philippe Vigneau</em:creator>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment