зеркало из https://github.com/mozilla/pjs.git
Fix bug 155664 -- make URLs opened from the Services menu in another app behave like those opened via Apple Events etc, obeying the prefs to load in new tabs/windows, possibly in the background.
This commit is contained in:
Родитель
e9e484e897
Коммит
741ad74e04
|
@ -816,7 +816,7 @@ static const char* ioServiceContractID = "@mozilla.org/network/io-service;1";
|
|||
[urlString appendString:tmpString];
|
||||
}
|
||||
|
||||
[self openBrowserWindowWithURL:urlString andReferrer:nil];
|
||||
[self openNewWindowOrTabWithURL:urlString andReferrer:nil];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -816,7 +816,7 @@ static const char* ioServiceContractID = "@mozilla.org/network/io-service;1";
|
|||
[urlString appendString:tmpString];
|
||||
}
|
||||
|
||||
[self openBrowserWindowWithURL:urlString andReferrer:nil];
|
||||
[self openNewWindowOrTabWithURL:urlString andReferrer:nil];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -816,7 +816,7 @@ static const char* ioServiceContractID = "@mozilla.org/network/io-service;1";
|
|||
[urlString appendString:tmpString];
|
||||
}
|
||||
|
||||
[self openBrowserWindowWithURL:urlString andReferrer:nil];
|
||||
[self openNewWindowOrTabWithURL:urlString andReferrer:nil];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -816,7 +816,7 @@ static const char* ioServiceContractID = "@mozilla.org/network/io-service;1";
|
|||
[urlString appendString:tmpString];
|
||||
}
|
||||
|
||||
[self openBrowserWindowWithURL:urlString andReferrer:nil];
|
||||
[self openNewWindowOrTabWithURL:urlString andReferrer:nil];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Загрузка…
Ссылка в новой задаче