- Send D-BUS QueueChanged signal on printer state changes.
This commit is contained in:
parent
7d79ceb63b
commit
0deb9b5b37
@ -39,7 +39,7 @@
|
||||
else if ((event & CUPSD_EVENT_JOB_STATE) && job &&
|
||||
job->state_value == IPP_JOB_PROCESSING)
|
||||
what = "JobStartedLocal";
|
||||
+ else if (event & (CUPSD_EVENT_PRINTER_CHANGED|CUPSD_EVENT_JOB_STATE_CHANGED))
|
||||
+ else if (event & (CUPSD_EVENT_PRINTER_CHANGED|CUPSD_EVENT_JOB_STATE_CHANGED|CUPS_EVENT_PRINTER_STATE_CHANGED))
|
||||
+ what = "QueueChanged";
|
||||
else
|
||||
return;
|
||||
|
@ -6,7 +6,7 @@
|
||||
Summary: Common Unix Printing System
|
||||
Name: cups
|
||||
Version: 1.2.10
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
License: GPL
|
||||
Group: System Environment/Daemons
|
||||
Source: ftp://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
|
||||
@ -440,6 +440,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{cups_serverbin}/daemon/cups-lpd
|
||||
|
||||
%changelog
|
||||
* Wed Apr 4 2007 Tim Waugh <twaugh@redhat.com> 1:1.2.10-5
|
||||
- Send D-BUS QueueChanged signal on printer state changes.
|
||||
|
||||
* Tue Apr 3 2007 Tim Waugh <twaugh@redhat.com> 1:1.2.10-4
|
||||
- Relay printer-state-message values in the IPP backend (STR #2109).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user