From d239e3c743b40409b448da1d824f339a9f9d61f8 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Thu, 7 Jan 2010 13:09:13 +0000 Subject: [PATCH] - Fixed typo introduced in recent fix (bug #551436). --- system-config-printer-select-nonexistent-printer.patch | 6 +++--- system-config-printer.spec | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/system-config-printer-select-nonexistent-printer.patch b/system-config-printer-select-nonexistent-printer.patch index 56188cc..0ef1e34 100644 --- a/system-config-printer-select-nonexistent-printer.patch +++ b/system-config-printer-select-nonexistent-printer.patch @@ -1,6 +1,6 @@ diff -up system-config-printer-1.1.16/system-config-printer.py.select-nonexistent-printer system-config-printer-1.1.16/system-config-printer.py ---- system-config-printer-1.1.16/system-config-printer.py.select-nonexistent-printer 2010-01-06 15:46:02.056410131 +0000 -+++ system-config-printer-1.1.16/system-config-printer.py 2010-01-06 15:46:54.226408979 +0000 +--- system-config-printer-1.1.16/system-config-printer.py.select-nonexistent-printer 2010-01-07 12:42:21.062047874 +0000 ++++ system-config-printer-1.1.16/system-config-printer.py 2010-01-07 12:42:33.235047115 +0000 @@ -6896,6 +6896,8 @@ class NewPrinterGUI(GtkGUI): self.mainapp.cups.addPrinter(name, ppd=ppd) except cups.IPPError, (e, msg): @@ -14,7 +14,7 @@ diff -up system-config-printer-1.1.16/system-config-printer.py.select-nonexisten iter = model.iter_next (iter) -+ if not self.printers.has_key (name): ++ if not self.mainapp.printers.has_key (name): + # At this stage the printer has disappeared even though we + # only added it moments ago. + return diff --git a/system-config-printer.spec b/system-config-printer.spec index 67019af..2199df7 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -7,7 +7,7 @@ Summary: A printer administration tool Name: system-config-printer Version: 1.1.16 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ URL: http://cyberelk.net/tim/software/system-config-printer/ Group: System Environment/Base @@ -214,6 +214,9 @@ rm -rf %buildroot exit 0 %changelog +* Thu Jan 7 2010 Tim Waugh - 1.1.16-5 +- Fixed typo introduced in recent fix (bug #551436). + * Wed Jan 6 2010 Tim Waugh - 1.1.16-4 - Use %%global instead of %%define.