Bug 530904 - tabs list style doesn't match fennec lists

Make headers larger, adjust text margins, add nokia sans font family.
This commit is contained in:
Edward Lee 2009-11-25 16:59:02 -08:00
Родитель 5c62d9223e
Коммит 5b2d0e0fe2
1 изменённых файлов: 12 добавлений и 0 удалений

Просмотреть файл

@ -724,6 +724,17 @@ let Utils = {
this.openDialog("ChangeSomething", "generic-change.xul"); this.openDialog("ChangeSomething", "generic-change.xul");
}, },
getIcon: function(iconUri, defaultIcon) {
try {
let iconURI = Utils.makeURI(iconUri);
return Svc.Favicon.getFaviconLinkForIcon(iconURI).spec;
}
catch(ex) {}
// Just give the provided default icon or the system's default
return defaultIcon || Svc.Favicon.defaultFavicon.spec;
},
getErrorString: function Utils_getErrorString(error, args) { getErrorString: function Utils_getErrorString(error, args) {
try { try {
return Str.errors.get(error, args || null); return Str.errors.get(error, args || null);
@ -777,6 +788,7 @@ Svc.Prefs = new Preferences(PREFS_BRANCH);
["Crypto", "@labs.mozilla.com/Weave/Crypto;1", "IWeaveCrypto"], ["Crypto", "@labs.mozilla.com/Weave/Crypto;1", "IWeaveCrypto"],
["Directory", "@mozilla.org/file/directory_service;1", "nsIProperties"], ["Directory", "@mozilla.org/file/directory_service;1", "nsIProperties"],
["Env", "@mozilla.org/process/environment;1", "nsIEnvironment"], ["Env", "@mozilla.org/process/environment;1", "nsIEnvironment"],
["Favicon", "@mozilla.org/browser/favicon-service;1", "nsIFaviconService"],
["History", "@mozilla.org/browser/nav-history-service;1", "nsPIPlacesDatabase"], ["History", "@mozilla.org/browser/nav-history-service;1", "nsPIPlacesDatabase"],
["Idle", "@mozilla.org/widget/idleservice;1", "nsIIdleService"], ["Idle", "@mozilla.org/widget/idleservice;1", "nsIIdleService"],
["IO", "@mozilla.org/network/io-service;1", "nsIIOService"], ["IO", "@mozilla.org/network/io-service;1", "nsIIOService"],