From c84ca760ffe3a0ecc0401b311797198fd02e996e Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Fri, 26 Mar 2010 10:33:57 +0000 Subject: [PATCH] - Fixed window transience for 'Change Device URI'. --- system-config-printer-transience.patch | 12 ++++++++++++ system-config-printer.spec | 5 +++++ 2 files changed, 17 insertions(+) create mode 100644 system-config-printer-transience.patch diff --git a/system-config-printer-transience.patch b/system-config-printer-transience.patch new file mode 100644 index 0000000..1826f6a --- /dev/null +++ b/system-config-printer-transience.patch @@ -0,0 +1,12 @@ +diff -up system-config-printer-1.2.0/system-config-printer.py.transience system-config-printer-1.2.0/system-config-printer.py +--- system-config-printer-1.2.0/system-config-printer.py.transience 2010-03-26 10:31:28.943600745 +0000 ++++ system-config-printer-1.2.0/system-config-printer.py 2010-03-26 10:31:36.738725437 +0000 +@@ -4012,7 +4012,7 @@ class NewPrinterGUI(GtkGUI): + self.btnNetworkFind.set_sensitive (True) + self.lblNetworkFindNotFound.hide () + +- if dialog_mode == "ppd": ++ if dialog_mode in ["ppd", "device"]: + self.parent = self.mainapp.PrinterPropertiesDialog + else: + self.parent = self.mainapp.PrintersWindow diff --git a/system-config-printer.spec b/system-config-printer.spec index 2667254..ae96f0b 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -30,6 +30,7 @@ Patch10: system-config-printer-inklevel.patch Patch11: system-config-printer-cdi-search-harder.patch Patch12: system-config-printer-asyncipp-traceback.patch Patch13: system-config-printer-cdi-lsb-paths.patch +Patch14: system-config-printer-transience.patch Patch100: system-config-printer-pycups-build.patch @@ -131,6 +132,9 @@ printers. # check-device-ids: use correct paths for LSB model URIs. %patch13 -p1 -b .cdi-lsb-paths +# Fixed window transience for 'Change Device URI'. +%patch14 -p1 -b .transience + pushd pycups-%{pycups_version} # Fixed pycups build with new distutils. @@ -254,6 +258,7 @@ exit 0 %changelog * Fri Mar 26 2010 Tim Waugh - 1.2.0-10 +- Fixed window transience for 'Change Device URI'. - More async traceback fixes (Ubuntu #547075). * Thu Mar 25 2010 Tim Waugh - 1.2.0-9