{
CFPreferencesSetAppValue(kDefaultPaperIDKey, name, kCUPSPrintingPrefs);
CFPreferencesAppSynchronize(kCUPSPrintingPrefs);
+
+# ifdef HAVE_NOTIFY_POST
notify_post("com.apple.printerPrefsChange");
+# endif /* HAVE_NOTIFY_POST */
}
CFPreferencesSetAppValue(kLastUsedPrintersKey, newlocations,
kCUPSPrintingPrefs);
CFPreferencesAppSynchronize(kCUPSPrintingPrefs);
+
+# ifdef HAVE_NOTIFY_POST
notify_post("com.apple.printerPrefsChange");
+# endif /* HAVE_NOTIFY_POST */
}
if (newlocations)
uselast ? kCFBooleanTrue : kCFBooleanFalse,
kCUPSPrintingPrefs);
CFPreferencesAppSynchronize(kCUPSPrintingPrefs);
+
+# ifdef HAVE_NOTIFY_POST
notify_post("com.apple.printerPrefsChange");
+# endif /* HAVE_NOTIFY_POST */
}
#endif /* __APPLE__ */