summaryrefslogtreecommitdiff
path: root/src/timedate/org.freedesktop.timedate1.policy
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-05-17 23:56:40 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-05-18 00:03:15 +0900
commite610ac3d50d563a8e73a7d9b16a2126df2dabdf9 (patch)
treeada04ea2f24c61df1b12221ac3208045f88b7717 /src/timedate/org.freedesktop.timedate1.policy
parenta8f2b6912e73f8777cd198290a593b41806f145d (diff)
downloadsystemd-e610ac3d50d563a8e73a7d9b16a2126df2dabdf9.tar.gz
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/org.freedesktop.timedate1.policy')
-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>