forked from AuroraMiddleware/gtk
printing: Fill device URI for non-Avahi printers
Device URI was not filled for non-Avahi printers by my previous commit. I've added it back. It was a mistake during rebasing of the patch to current master.
This commit is contained in:
parent
91a802a1e5
commit
6ddc214e68
@ -2413,6 +2413,11 @@ cups_create_printer (GtkPrintBackendCups *cups_backend,
|
||||
cups_printer->device_uri = g_strdup_printf ("/%s",
|
||||
info->avahi_resource_path);
|
||||
}
|
||||
else
|
||||
{
|
||||
cups_printer->device_uri = g_strdup_printf ("/printers/%s",
|
||||
info->printer_name);
|
||||
}
|
||||
|
||||
/* Check to see if we are looking at a class */
|
||||
if (info->member_uris)
|
||||
|
Loading…
Reference in New Issue
Block a user