mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-19 15:51:33 +00:00
r=javi,wtc, sr/a=brendan OS/2 should follow some WIN32 paths in psm-glue
This commit is contained in:
parent
b09dbc93b9
commit
d2e8035eef
@ -66,7 +66,7 @@
|
||||
|
||||
#define PSM_VERSION_REG_KEY "/Netscape/Personal Security Manager"
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) || defined(XP_OS2)
|
||||
#define PSM_FILE_NAME "psm.exe"
|
||||
#elif XP_UNIX
|
||||
#define PSM_FILE_NAME "start-psm"
|
||||
|
@ -106,7 +106,7 @@ nsPSMUIHandlerImpl::DisplayURI(PRInt32 width, PRInt32 height, PRBool modal, cons
|
||||
char buffer[256];
|
||||
PR_snprintf(buffer,
|
||||
sizeof(buffer),
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) || defined(XP_OS2)
|
||||
modal ? "menubar=no,height=%d,width=%d,dependent,modal"
|
||||
#else
|
||||
(modal && win) ? "menubar=no,height=%d,width=%d,dependent"
|
||||
@ -119,7 +119,7 @@ nsPSMUIHandlerImpl::DisplayURI(PRInt32 width, PRInt32 height, PRBool modal, cons
|
||||
if (argv) {
|
||||
// open the window
|
||||
nsIDOMWindowInternal *newWindow;
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) || defined(XP_OS2)
|
||||
if (modal && win) {
|
||||
parentWindow->OpenDialog(jsContext, argv, 3, &newWindow);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user