summaryrefslogtreecommitdiffstats
path: root/src/timedate
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-05-17 16:56:40 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-05-17 17:03:15 +0200
commite610ac3d50d563a8e73a7d9b16a2126df2dabdf9 (patch)
treeada04ea2f24c61df1b12221ac3208045f88b7717 /src/timedate
parentcore: systemd1.manage-unit-files policy implies systemd1.manage-units (diff)
downloadsystemd-e610ac3d50d563a8e73a7d9b16a2126df2dabdf9.tar.xz
systemd-e610ac3d50d563a8e73a7d9b16a2126df2dabdf9.zip
timedatectl: do not wrap polkit policy message
If messages are wrapped, then only the last line is shown in the dialog, at least polkit gui for Xfce. It may be a bug of polkit or Xfce. But it is not necessary to wrap the message in the policy file. So, let's fix them.
Diffstat (limited to 'src/timedate')
-rw-r--r--src/timedate/org.freedesktop.timedate1.policy6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/timedate/org.freedesktop.timedate1.policy b/src/timedate/org.freedesktop.timedate1.policy
index d488572ae3..b6303ba1dd 100644
--- a/src/timedate/org.freedesktop.timedate1.policy
+++ b/src/timedate/org.freedesktop.timedate1.policy
@@ -41,8 +41,7 @@
<action id="org.freedesktop.timedate1.set-local-rtc">
<description gettext-domain="systemd">Set RTC to local timezone or UTC</description>
- <message gettext-domain="systemd">Authentication is required to control whether
- the RTC stores the local or UTC time.</message>
+ <message gettext-domain="systemd">Authentication is required to control whether the RTC stores the local or UTC time.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
@@ -52,8 +51,7 @@
<action id="org.freedesktop.timedate1.set-ntp">
<description gettext-domain="systemd">Turn network time synchronization on or off</description>
- <message gettext-domain="systemd">Authentication is required to control whether
- network time synchronization shall be enabled.</message>
+ <message gettext-domain="systemd">Authentication is required to control whether network time synchronization shall be enabled.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>