forked from AuroraMiddleware/gtk
printing: Don't show Rejecting Jobs when we don't know
Set reasonable default values for printers discovered by Avahi which do not have 'printer-type' attribute. This is the case for network printers which were not published by CUPS. Related to the issue #1509.
This commit is contained in:
parent
88da95d921
commit
e54049bc26
@ -2887,6 +2887,9 @@ create_cups_printer_from_avahi_data (AvahiConnectionTestData *data)
|
||||
info->avahi_printer = TRUE;
|
||||
info->printer_name = data->printer_name;
|
||||
info->printer_uri = data->printer_uri;
|
||||
info->default_printer = FALSE;
|
||||
info->remote_printer = TRUE;
|
||||
info->is_accepting_jobs = TRUE;
|
||||
|
||||
if (data->got_printer_state)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user