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.
git-svn-id: svn://10.0.0.236/trunk@125511 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user