From 128180db28f708b42383d4208167dd90273f72bf Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Mon, 1 Mar 2010 19:01:00 +0000 Subject: [PATCH] - Use icon name 'printer' instead of 'gnome-dev-printer'. --- system-config-printer-icon-name.patch | 27 +++++++++++++++++++++++++++ system-config-printer.spec | 7 ++++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 system-config-printer-icon-name.patch diff --git a/system-config-printer-icon-name.patch b/system-config-printer-icon-name.patch new file mode 100644 index 0000000..bf17c2d --- /dev/null +++ b/system-config-printer-icon-name.patch @@ -0,0 +1,27 @@ +diff -up system-config-printer-1.1.93/system-config-printer.py.icon-name system-config-printer-1.1.93/system-config-printer.py +--- system-config-printer-1.1.93/system-config-printer.py.icon-name 2010-02-26 15:15:26.000000000 +0000 ++++ system-config-printer-1.1.93/system-config-printer.py 2010-03-01 18:53:04.502609395 +0000 +@@ -1463,19 +1463,19 @@ class GUI(GtkGUI, monitor.Watcher): + 'i-network-printer'), + 'local-printer': + (_("Printer"), +- 'gnome-dev-printer'), ++ 'printer'), + 'local-fax': + (_("Fax"), +- 'gnome-dev-printer'), ++ 'printer'), + 'local-class': + (_("Class"), +- 'gnome-dev-printer'), ++ 'printer'), + 'ipp-printer': + (_("Network printer"), + 'i-network-printer'), + 'smb-printer': + (_("Network print share"), +- 'gnome-dev-printer'), ++ 'printer'), + 'network-printer': + (_("Network printer"), + 'i-network-printer'), diff --git a/system-config-printer.spec b/system-config-printer.spec index 2694eeb..9ba12f8 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.93 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ URL: http://cyberelk.net/tim/software/system-config-printer/ Group: System Environment/Base @@ -19,6 +19,7 @@ Patch1: system-config-printer-no-epydoc.patch Patch2: system-config-printer-lowercase-mfg-mdl.patch Patch3: system-config-printer-import-gobject.patch Patch4: system-config-printer-check-install.patch +Patch5: system-config-printer-icon-name.patch BuildRequires: cups-devel >= 1.2 BuildRequires: python-devel >= 2.4 @@ -81,6 +82,7 @@ printers. %patch2 -p1 -b .lowercase-mfg-mdl %patch3 -p1 -b .import-gobject %patch4 -p1 -b .check-install +%patch5 -p1 -b .icon-name %build %configure --with-udev-rules --with-polkit-1 @@ -197,6 +199,9 @@ rm -rf %buildroot exit 0 %changelog +* Mon Mar 1 2010 Tim Waugh - 1.1.93-4 +- Use icon name 'printer' instead of 'gnome-dev-printer'. + * Mon Mar 1 2010 Tim Waugh - 1.1.93-3 - Attempt to install drivers in the Device ID checker.