Bug 172785 [BeOS] Allow Launch/Reveal and ShowLocation in Tracker

patch by sergei_d@fi.tartu.ee r=tqh sr=neil
This commit is contained in:
timeless%mozdev.org 2005-12-11 05:37:42 +00:00
Родитель 47dd1a2c94
Коммит 6f357ea298
1 изменённых файлов: 4 добавлений и 3 удалений

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

@ -48,7 +48,8 @@ var gFileHandler = null;
var gStatusBar = null;
var gCannotLaunch = ((navigator.platform.indexOf("Win") == -1) &&
(navigator.platform.indexOf("OS/2") == -1) &&
(navigator.platform.indexOf("Mac") == -1));
(navigator.platform.indexOf("Mac") == -1) &&
(navigator.platform.indexOf("BeOS") == -1));
const dlObserver = {
observe: function(subject, topic, state) {
@ -261,8 +262,8 @@ var downloadViewController = {
// on unix, open a browser window rooted at the parent
if ((navigator.platform.indexOf("Win") == -1) &&
(navigator.platform.indexOf("Mac") == -1) &&
(navigator.platform.indexOf("OS/2") == -1)) {
file = file.QueryInterface(Components.interfaces.nsIFile);
(navigator.platform.indexOf("OS/2") == -1) &&
(navigator.platform.indexOf("BeOS") == -1)) {
var parent = file.parent;
if (parent) {
const browserURL = "chrome://navigator/content/navigator.xul";