Summary: | NTP synchronisation can only be disabled if NTP is installed | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Philippe Cloutier <chealer> |
Component: | kcm_clock | Assignee: | Paul Campbell <paul> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde |
Priority: | NOR | ||
Version: | 4.8.4 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/plasma-desktop/b6ae01ca8ea776c97cc57836401ca9696e2529e8 | Version Fixed In: | |
Sentry Crash Report: |
Description
Philippe Cloutier
2012-12-07 04:09:14 UTC
Should be easily achieveable by adding a setDateTimeAuto->setChecked(false); to the if (ntpUtility.isEmpty()) { in [kde-workspace] kcontrol/dateandtime/dtime.cpp that disables the NTP if it is unavailable. Git commit b6ae01ca8ea776c97cc57836401ca9696e2529e8 by David Edmundson. Committed on 14/02/2015 at 13:50. Pushed by davidedmundson into branch 'master'. Add systemd support into the clock KCM as an optional dependency The current time setting helper is incredibly broken. It manually tries to run a range of NTP utilities, all of which are deprecated. We can just call timedated directly and cut out the middleman as it has uses polkit anyway. This is currently an optional dependency, and the original helper still exists. It makes the code messy, but we have users to support for now. Detection is done at runtime Related: bug 196316, bug 317784, bug 319072, bug 337012, bug 339582, bug 241817, bug 178968, bug 320456, bug 317999, bug 337659 REVIEW: 122400 M +5 -1 kcms/dateandtime/CMakeLists.txt M +22 -12 kcms/dateandtime/dateandtime.ui M +44 -30 kcms/dateandtime/dtime.cpp M +2 -1 kcms/dateandtime/dtime.h M +80 -7 kcms/dateandtime/main.cpp M +5 -1 kcms/dateandtime/main.h A +43 -0 kcms/dateandtime/timedated1.xml http://commits.kde.org/plasma-desktop/b6ae01ca8ea776c97cc57836401ca9696e2529e8 |