aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-printer-state-notifier.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/indicator-printer-state-notifier.c')
-rw-r--r--src/indicator-printer-state-notifier.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indicator-printer-state-notifier.c b/src/indicator-printer-state-notifier.c
index 751137a..122c800 100644
--- a/src/indicator-printer-state-notifier.c
+++ b/src/indicator-printer-state-notifier.c
@@ -162,8 +162,8 @@ on_printer_state_changed (CupsNotifier *object,
cupsFreeJobs (njobs, jobs);
/* don't show any events if the current user does not have jobs queued on
- * that printer */
- if (njobs == 0)
+ * that printer or this printer is unknown to CUPS */
+ if (njobs <= 0)
return;
state_reasons = g_strsplit (printer_state_reasons, " ", 0);