Don't handle CUPS' "connecting-to-device" state reason

CUPS backend shouldn't handle "connecting-to-device" state reason.
It shows "Printer '%s' may not be connected" for this state,
which is not true in almost all cases. Better is to use
"printer-state-message" which contains correct message (#622011).
(cherry picked from commit 998459afb7)
This commit is contained in:
Marek Kasik 2010-06-24 09:27:16 +02:00 committed by Matthias Clasen
parent 081eaf4484
commit c1c3670711

View File

@ -1665,7 +1665,6 @@ cups_request_printer_list_cb (GtkPrintBackendCups *cups_backend,
"media-low",
"media-empty",
"offline",
"connecting-to-device",
"other"
};
static const char * reasons_descs[] =
@ -1685,7 +1684,6 @@ cups_request_printer_list_cb (GtkPrintBackendCups *cups_backend,
N_("Printer '%s' is low on paper."),
N_("Printer '%s' is out of paper."),
N_("Printer '%s' is currently off-line."),
N_("Printer '%s' may not be connected."),
N_("There is a problem on printer '%s'.")
};
gboolean is_paused = FALSE;