linuxmint/Cinnamon — pull request #1110 by tetromino (2012-09-11 08:12:42+00:00)
Title: Add a wrapper to switch between timedated and g-s-d's DateTimeMechanism

Upstream gnome-settings-daemon-3.4 and higher no longer implements
org.gnome.SettingsDaemon.DateTimeMechanism. In some distros (e.g.
Debian) this change had been reverted, and the old interface for now
remains available. Other distros agree with the upstream decision and
have switched to the new timedated interface as implemented by systemd
and openrc-settingsd.

This patch adds a simple wrapper around the two interfaces, allowing
cinnamon-settings to support both. If the timedated interface is not
available, the traditional g-s-d DateTimeMechanism is used.

Fixes https://github.com/linuxmint/Cinnamon/issues/515