Don't start the applet in GNOME at all (bug #677676).
This commit is contained in:
parent
79804fcddd
commit
788b98a449
11
system-config-printer-no-applet-in-gnome.patch
Normal file
11
system-config-printer-no-applet-in-gnome.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -up system-config-printer-1.3.2/print-applet.desktop.in.no-applet-in-gnome system-config-printer-1.3.2/print-applet.desktop.in
|
||||||
|
--- system-config-printer-1.3.2/print-applet.desktop.in.no-applet-in-gnome 2011-03-22 16:52:27.022333561 +0000
|
||||||
|
+++ system-config-printer-1.3.2/print-applet.desktop.in 2011-03-22 16:57:39.782439447 +0000
|
||||||
|
@@ -6,6 +6,6 @@ Exec=system-config-printer-applet
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Icon=printer
|
||||||
|
-NotShowIn=KDE;
|
||||||
|
+NotShowIn=GNOME;KDE;
|
||||||
|
StartupNotify=false
|
||||||
|
X-GNOME-Autostart-Delay=30
|
@ -1,11 +0,0 @@
|
|||||||
diff -up system-config-printer-1.3.0/jobviewer.py.no-job-notifications system-config-printer-1.3.0/jobviewer.py
|
|
||||||
--- system-config-printer-1.3.0/jobviewer.py.no-job-notifications 2011-02-17 10:01:19.326028750 +0000
|
|
||||||
+++ system-config-printer-1.3.0/jobviewer.py 2011-02-17 10:03:43.762315309 +0000
|
|
||||||
@@ -1700,6 +1700,7 @@ class JobViewer (GtkGUI):
|
|
||||||
return
|
|
||||||
|
|
||||||
def notify_completed_job (self, jobid):
|
|
||||||
+ return
|
|
||||||
job = self.jobs.get (jobid, {})
|
|
||||||
document = job.get ('job-name', _("Unknown"))
|
|
||||||
printer_uri = job.get ('job-printer-uri')
|
|
@ -5,12 +5,12 @@
|
|||||||
Summary: A printer administration tool
|
Summary: A printer administration tool
|
||||||
Name: system-config-printer
|
Name: system-config-printer
|
||||||
Version: 1.3.2
|
Version: 1.3.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://cyberelk.net/tim/software/system-config-printer/
|
URL: http://cyberelk.net/tim/software/system-config-printer/
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source0: http://cyberelk.net/tim/data/system-config-printer/1.2/%{name}-%{version}.tar.xz
|
Source0: http://cyberelk.net/tim/data/system-config-printer/1.2/%{name}-%{version}.tar.xz
|
||||||
Patch1: system-config-printer-no-job-notifications.patch
|
Patch1: system-config-printer-no-applet-in-gnome.patch
|
||||||
BuildRequires: cups-devel >= 1.2
|
BuildRequires: cups-devel >= 1.2
|
||||||
BuildRequires: desktop-file-utils >= 0.2.92
|
BuildRequires: desktop-file-utils >= 0.2.92
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
@ -68,8 +68,8 @@ printers.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
# Don't show job notifications.
|
# Don't start the applet in GNOME.
|
||||||
%patch1 -p1 -b .no-job-notifications
|
%patch1 -p1 -b .no-applet-in-gnome
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-udev-rules
|
%configure --with-udev-rules
|
||||||
@ -179,6 +179,12 @@ rm -rf %buildroot
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 22 2011 Tim Waugh <twaugh@redhat.com> 1.3.2-2
|
||||||
|
- Don't start the applet in GNOME at all (bug #677676), now that GNOME
|
||||||
|
Shell is capable of handling New Printer notifications. (Note that
|
||||||
|
automatic driver installation won't work until GNOME Shell implements
|
||||||
|
that part.)
|
||||||
|
|
||||||
* Fri Mar 18 2011 Tim Waugh <twaugh@redhat.com> 1.3.2-1
|
* Fri Mar 18 2011 Tim Waugh <twaugh@redhat.com> 1.3.2-1
|
||||||
- 1.3.2:
|
- 1.3.2:
|
||||||
- Set connected state when connecting to server fails (bug #685098).
|
- Set connected state when connecting to server fails (bug #685098).
|
||||||
|
Loading…
Reference in New Issue
Block a user