]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix dbus notifier (Issue #1235)
authorMichael R Sweet <msweet@msweet.org>
Thu, 17 Apr 2025 18:56:07 +0000 (14:56 -0400)
committerMichael R Sweet <msweet@msweet.org>
Thu, 17 Apr 2025 18:56:07 +0000 (14:56 -0400)
notifier/dbus.c

index 81d9a6aac1a918cd7ddc6bc46db3c3ba266868cd..4d595eba0326c3e951691020fb51be682ff44ff9 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * D-Bus notifier for CUPS.
  *
- * Copyright © 2020-2024 by OpenPrinting.
+ * Copyright © 2020-2025 by OpenPrinting.
  * Copyright © 2008-2014 by Apple Inc.
  * Copyright © 2011, 2013 Red Hat, Inc.
  * Copyright © 2007 Tim Waugh <twaugh@redhat.com>
@@ -322,7 +322,7 @@ main(int  argc,                             /* I - Number of command-line args */
        signame = "PrinterAdded";
       else if (!strcmp(word2, "deleted"))
        signame = "PrinterDeleted";
-      else if (!strcmp(word2, "modified"))
+      else if (!strcmp(word2, "config-changed") || !strcmp(word2, "modified"))
        signame = "PrinterModified";
       else
        continue;