summaryrefslogtreecommitdiff
path: root/cpufreq/src/cpufreq-selector
diff options
context:
space:
mode:
Diffstat (limited to 'cpufreq/src/cpufreq-selector')
-rw-r--r--cpufreq/src/cpufreq-selector/Makefile.am4
-rw-r--r--cpufreq/src/cpufreq-selector/org.mate.cpufreqselector.policy.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/cpufreq/src/cpufreq-selector/Makefile.am b/cpufreq/src/cpufreq-selector/Makefile.am
index 27dfac69..dc913c70 100644
--- a/cpufreq/src/cpufreq-selector/Makefile.am
+++ b/cpufreq/src/cpufreq-selector/Makefile.am
@@ -66,9 +66,9 @@ $(dbus_services_DATA): $(dbus_services_in_files)
sed -e "s|\@BINDIR\@|$(DESTDIR)$(bindir)|" $< > $@
dbus_conf_DATA = org.mate.CPUFreqSelector.conf
-@INTLTOOL_POLICY_RULE@
polkit_DATA = $(polkit_in_files:.policy.in=.policy)
-
+$(polkit_DATA): $(polkit_in_files)
+ $(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
else
dbus_services_DATA=
dbus_conf_DATA=
diff --git a/cpufreq/src/cpufreq-selector/org.mate.cpufreqselector.policy.in b/cpufreq/src/cpufreq-selector/org.mate.cpufreqselector.policy.in
index 6864e82b..d2afd81b 100644
--- a/cpufreq/src/cpufreq-selector/org.mate.cpufreqselector.policy.in
+++ b/cpufreq/src/cpufreq-selector/org.mate.cpufreqselector.policy.in
@@ -11,8 +11,8 @@
<icon_name>mate-cpu-frequency-applet</icon_name>
<action id="org.mate.cpufreqselector">
- <_description>Change CPU Frequency scaling</_description>
- <_message>Privileges are required to change the CPU Frequency scaling.</_message>
+ <description>Change CPU Frequency scaling</description>
+ <message>Privileges are required to change the CPU Frequency scaling.</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>