[libreoffice] forgot to add this
Caolán McNamara
caolanm at fedoraproject.org
Thu Dec 5 09:19:23 UTC 2013
commit bb156a1b6bc1fbbddec2b22d781bb4ded9407342
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 5 09:18:56 2013 +0000
forgot to add this
...bz-1038189-refresh-printer-list-when-prin.patch | 29 ++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
---
diff --git a/0001-Resolves-rhbz-1038189-refresh-printer-list-when-prin.patch b/0001-Resolves-rhbz-1038189-refresh-printer-list-when-prin.patch
new file mode 100644
index 0000000..318c888
--- /dev/null
+++ b/0001-Resolves-rhbz-1038189-refresh-printer-list-when-prin.patch
@@ -0,0 +1,29 @@
+From 02efbed152a3a9e364cdb73628af0aed0f5d6f7a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm at redhat.com>
+Date: Wed, 4 Dec 2013 16:48:08 +0000
+Subject: [PATCH] Resolves: rhbz#1038189 refresh printer list when print dialog
+ launched
+
+which is the the same thing the printer settings dialog does
+
+Change-Id: I36fb9f057b66faa8c9fce5a9934ed2fb70786363
+---
+ vcl/source/window/printdlg.cxx | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
+index b8cb188..21941ca 100644
+--- a/vcl/source/window/printdlg.cxx
++++ b/vcl/source/window/printdlg.cxx
+@@ -602,6 +602,8 @@ PrintDialog::PrintDialog( Window* i_pParent, const boost::shared_ptr<PrinterCont
+ // init reverse print
+ maJobPage.mpReverseOrderBox->Check( maPController->getReversePrint() );
+
++ Printer::updatePrinters();
++
+ // fill printer listbox
+ const std::vector< OUString >& rQueues( Printer::GetPrinterQueues() );
+ for( std::vector< OUString >::const_iterator it = rQueues.begin();
+--
+1.8.3.1
+
More information about the scm-commits
mailing list