From: Michael R Sweet Date: Thu, 17 Apr 2025 18:56:07 +0000 (-0400) Subject: Fix dbus notifier (Issue #1235) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c93921b2a5351ba9e31a54b159b7350e23276150;p=thirdparty%2Fcups.git Fix dbus notifier (Issue #1235) --- diff --git a/notifier/dbus.c b/notifier/dbus.c index 81d9a6aac1..4d595eba03 100644 --- a/notifier/dbus.c +++ b/notifier/dbus.c @@ -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 @@ -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;