зеркало из https://github.com/mozilla/gecko-dev.git
Bug 478430 - [RTL] URLs in exceptions dialogs are right-to-left; r=gavin
This commit is contained in:
Родитель
e44573baaf
Коммит
246552fa9c
|
@ -82,7 +82,10 @@ var gPermissionManager = {
|
|||
cycleHeader: function(column) {},
|
||||
getRowProperties: function(row,prop){},
|
||||
getColumnProperties: function(column,prop){},
|
||||
getCellProperties: function(row,column,prop){}
|
||||
getCellProperties: function(row,column,prop){
|
||||
if (column.element.getAttribute("id") == "siteCol")
|
||||
prop.AppendElement(this._ltrAtom);
|
||||
}
|
||||
},
|
||||
|
||||
_getCapabilityString: function (aCapability)
|
||||
|
@ -214,6 +217,10 @@ var gPermissionManager = {
|
|||
this._loadPermissions();
|
||||
|
||||
urlField.focus();
|
||||
|
||||
this._ltrAtom = Components.classes["@mozilla.org/atom-service;1"]
|
||||
.getService(Components.interfaces.nsIAtomService)
|
||||
.getAtom("ltr");
|
||||
},
|
||||
|
||||
uninit: function ()
|
||||
|
|
|
@ -93,7 +93,10 @@ var signonsTreeView = {
|
|||
cycleHeader : function(column) {},
|
||||
getRowProperties : function(row,prop) {},
|
||||
getColumnProperties : function(column,prop) {},
|
||||
getCellProperties : function(row,column,prop) {}
|
||||
getCellProperties : function(row,column,prop) {
|
||||
if (column.element.getAttribute("id") == "siteCol")
|
||||
prop.AppendElement(kLTRAtom);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -59,6 +59,8 @@ var rejectsTree;
|
|||
|
||||
var showingPasswords = false;
|
||||
|
||||
var kLTRAtom;
|
||||
|
||||
function Startup() {
|
||||
// xpconnect to password manager interfaces
|
||||
passwordmanager = Components.classes["@mozilla.org/login-manager;1"]
|
||||
|
@ -73,6 +75,10 @@ function Startup() {
|
|||
|
||||
signonsTree = document.getElementById("signonsTree");
|
||||
rejectsTree = document.getElementById("rejectsTree");
|
||||
|
||||
kLTRAtom = Components.classes["@mozilla.org/atom-service;1"]
|
||||
.getService(Components.interfaces.nsIAtomService)
|
||||
.getAtom("ltr");
|
||||
}
|
||||
|
||||
function Shutdown() {
|
||||
|
|
|
@ -64,7 +64,10 @@ var rejectsTreeView = {
|
|||
cycleHeader : function(column) {},
|
||||
getRowProperties : function(row,prop){},
|
||||
getColumnProperties : function(column,prop){},
|
||||
getCellProperties : function(row,column,prop){}
|
||||
getCellProperties : function(row,column,prop){
|
||||
if (column.element.getAttribute("id") == "rejectCol")
|
||||
prop.AppendElement(kLTRAtom);
|
||||
}
|
||||
};
|
||||
|
||||
function Reject(number, host) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче