mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
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:
parent
4beb1c18ae
commit
94582bb1d3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user