зеркало из https://github.com/mozilla/pjs.git
Decreasing height of newly-created windows to 480. Approved by Chris H.
This commit is contained in:
Родитель
79e1e2b184
Коммит
bb6b8f1127
|
@ -152,7 +152,7 @@ nsToolkitCore::ShowDialog(const nsString& aUrl, nsIDOMWindow* aParent) {
|
|||
|
||||
nsCOMPtr<nsIWebShellWindow> parent = DOMWindowToWebShellWindow(aParent);
|
||||
appShell->CreateDialogWindow(parent, urlObj, controllerCID, window,
|
||||
nsnull, nsnull, 615, 650);
|
||||
nsnull, nsnull, 615, 480);
|
||||
nsServiceManager::ReleaseService(kAppShellServiceCID, appShell);
|
||||
|
||||
if (window != nsnull)
|
||||
|
@ -186,7 +186,7 @@ nsToolkitCore::ShowWindow(const nsString& aUrl, nsIDOMWindow* aParent) {
|
|||
|
||||
nsCOMPtr<nsIWebShellWindow> parent = DOMWindowToWebShellWindow(aParent);
|
||||
appShell->CreateTopLevelWindow(parent, urlObj, controllerCID, window,
|
||||
nsnull, nsnull, 615, 650);
|
||||
nsnull, nsnull, 615, 480);
|
||||
nsServiceManager::ReleaseService(kAppShellServiceCID, appShell);
|
||||
|
||||
if (window != nsnull)
|
||||
|
@ -220,7 +220,7 @@ nsToolkitCore::ShowModalDialog(const nsString& aUrl, nsIDOMWindow* aParent) {
|
|||
|
||||
nsCOMPtr<nsIWebShellWindow> parent = DOMWindowToWebShellWindow(aParent);
|
||||
appShell->CreateDialogWindow(parent, urlObj, controllerCID, window,
|
||||
nsnull, nsnull, 615, 650);
|
||||
nsnull, nsnull, 615, 480);
|
||||
nsServiceManager::ReleaseService(kAppShellServiceCID, appShell);
|
||||
|
||||
if (window != nsnull) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче