Make holding the option key at launch time open the profile manager on mac.

b=194149; r=sgehani; sr=jaggernaut; a=asa; author=sfraser


git-svn-id: svn://10.0.0.236/trunk@138059 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sgehani%netscape.com 2003-02-21 00:54:00 +00:00
parent 8caab640a4
commit be4214bb8f
2 changed files with 6 additions and 0 deletions

View File

@ -181,6 +181,9 @@ nsresult nsMacCommandLine::Initialize(int& argc, char**& argv)
}
}
if (GetCurrentKeyModifiers() & optionKey)
AddToCommandLine("-p");
// we've started up now
mStartedUp = PR_TRUE;

View File

@ -181,6 +181,9 @@ nsresult nsMacCommandLine::Initialize(int& argc, char**& argv)
}
}
if (GetCurrentKeyModifiers() & optionKey)
AddToCommandLine("-p");
// we've started up now
mStartedUp = PR_TRUE;