зеркало из https://github.com/mozilla/gecko-dev.git
Bug 254331: Cannot print in black & white again, only color. r=bzbarsky, sr=roc
This commit is contained in:
Родитель
5e8ad2c046
Коммит
504746186f
|
@ -432,6 +432,7 @@ NS_IMETHODIMP nsDeviceContextSpecGTK::Init(nsIPrintSettings *aPS,
|
|||
mToPrinter = !tofile;
|
||||
mCopies = copies;
|
||||
mIsPPreview = aIsPrintPreview;
|
||||
mCancel = PR_FALSE;
|
||||
}
|
||||
|
||||
return rv;
|
||||
|
|
|
@ -101,11 +101,11 @@ public:
|
|||
|
||||
protected:
|
||||
nsCOMPtr<nsIPrintSettings> mPrintSettings;
|
||||
PRBool mToPrinter : 1; /* If PR_TRUE, print to printer */
|
||||
PRBool mIsPPreview : 1; /* If PR_TRUE, is print preview */
|
||||
PRBool mFpf : 1; /* If PR_TRUE, first page first */
|
||||
PRBool mGrayscale : 1; /* If PR_TRUE, print grayscale */
|
||||
PRBool mCancel : 1; /* If PR_TRUE, user cancelled */
|
||||
PRPackedBool mToPrinter : 1; /* If PR_TRUE, print to printer */
|
||||
PRPackedBool mIsPPreview : 1; /* If PR_TRUE, is print preview */
|
||||
PRPackedBool mFpf : 1; /* If PR_TRUE, first page first */
|
||||
PRPackedBool mGrayscale : 1; /* If PR_TRUE, print grayscale */
|
||||
PRPackedBool mCancel : 1; /* If PR_TRUE, user cancelled */
|
||||
int mOrientation; /* Orientation e.g. Portrait */
|
||||
char mCommand[PATH_MAX]; /* Print command e.g., lpr */
|
||||
char mPath[PATH_MAX]; /* If toPrinter = PR_FALSE, dest file */
|
||||
|
|
|
@ -407,6 +407,7 @@ NS_IMETHODIMP nsDeviceContextSpecXlib::Init(nsIPrintSettings *aPS,
|
|||
mToPrinter = !tofile;
|
||||
mCopies = copies;
|
||||
mIsPPreview = aIsPrintPreview;
|
||||
mCancel = PR_FALSE;
|
||||
}
|
||||
|
||||
return rv;
|
||||
|
|
|
@ -101,11 +101,11 @@ public:
|
|||
|
||||
protected:
|
||||
nsCOMPtr<nsIPrintSettings> mPrintSettings;
|
||||
PRBool mToPrinter : 1; /* If PR_TRUE, print to printer */
|
||||
PRBool mIsPPreview : 1; /* If PR_TRUE, is print preview */
|
||||
PRBool mFpf : 1; /* If PR_TRUE, first page first */
|
||||
PRBool mGrayscale : 1; /* If PR_TRUE, print grayscale */
|
||||
PRBool mCancel : 1; /* If PR_TRUE, user cancelled */
|
||||
PRPackedBool mToPrinter : 1; /* If PR_TRUE, print to printer */
|
||||
PRPackedBool mIsPPreview : 1; /* If PR_TRUE, is print preview */
|
||||
PRPackedBool mFpf : 1; /* If PR_TRUE, first page first */
|
||||
PRPackedBool mGrayscale : 1; /* If PR_TRUE, print grayscale */
|
||||
PRPackedBool mCancel : 1; /* If PR_TRUE, user cancelled */
|
||||
int mOrientation; /* Orientation e.g. Portrait */
|
||||
char mCommand[PATH_MAX]; /* Print command e.g., lpr */
|
||||
char mPath[PATH_MAX]; /* If toPrinter = PR_FALSE, dest file */
|
||||
|
|
Загрузка…
Ссылка в новой задаче