diff options
author | adeshkp <adeshkp@users.noreply.github.com> | 2017-06-23 19:25:05 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-23 19:25:05 +0530 |
commit | 2194141db0e7b01f1f45a412a8a75376cbbe327e (patch) | |
tree | 5fb10cf472ffbb2d6891597fb969c690a122a767 /widget | |
parent | bf64e055b92820ab49643deaca04a92719922961 (diff) | |
download | palemoon-gre-2194141db0e7b01f1f45a412a8a75376cbbe327e.tar.gz |
Change print_to_filename
When printing to file on Linux systems, filename is filled with "mozilla.pdf".
This PR changes it to "palemoon.pdf"
Diffstat (limited to 'widget')
-rw-r--r-- | widget/gtk/nsDeviceContextSpecG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/gtk/nsDeviceContextSpecG.cpp b/widget/gtk/nsDeviceContextSpecG.cpp index 6dd4e999d..72d9c8547 100644 --- a/widget/gtk/nsDeviceContextSpecG.cpp +++ b/widget/gtk/nsDeviceContextSpecG.cpp @@ -482,9 +482,9 @@ NS_IMETHODIMP nsPrinterEnumeratorGTK::InitPrintSettingsFromPrinter(const char16_ path = PR_GetEnv("HOME"); if (path) - filename = nsPrintfCString("%s/mozilla.pdf", path); + filename = nsPrintfCString("%s/palemoon.pdf", path); else - filename.AssignLiteral("mozilla.pdf"); + filename.AssignLiteral("palemoon.pdf"); } DO_PR_DEBUG_LOG(("Setting default filename to '%s'\n", filename.get())); aPrintSettings->SetToFileName(NS_ConvertUTF8toUTF16(filename).get()); |