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

b=194149; r=sgehani; sr=jaggernaut; a=asa; author=sfraser
This commit is contained in:
sgehani%netscape.com 2003-02-21 00:54:00 +00:00
parent b9251480f2
commit 5158bf9a04
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;