mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 17:10:04 +00:00
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:
parent
081eaf4484
commit
c1c3670711
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user