Mh, I think we should fix the problem in unity-settings-daemon, by connecting at the com.canonical.Unity.Session.Locked signal instead.
Since in unity the screensaver != lockscreen, and we emit the org.gnome.ScreenSaver.ActiveChanged only when the screensaver is shown (and this generally happens after that the lockscreen has been configured).
Mh, I think we should fix the problem in unity-settings- daemon, by connecting at the com.canonical. Unity.Session. Locked signal instead.
Since in unity the screensaver != lockscreen, and we emit the org.gnome. ScreenSaver. ActiveChanged only when the screensaver is shown (and this generally happens after that the lockscreen has been configured).