aboutsummaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
Diffstat (limited to 'extras')
-rw-r--r--extras/desktop/mpan.desktop8
-rw-r--r--extras/polkit/org.mageia.mpan.policy (renamed from extras/polkit/org.mageia.adminpanel.policy)4
2 files changed, 10 insertions, 2 deletions
diff --git a/extras/desktop/mpan.desktop b/extras/desktop/mpan.desktop
new file mode 100644
index 00000000..8a8f9512
--- /dev/null
+++ b/extras/desktop/mpan.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Mageia AdminPanel
+Comment=Administration panel - application launcher
+Exec=pkexec /usr/bin/mpan.pl
+Icon=drakconf
+Type=Application
+StartupNotify=true
+Categories=System;X-MandrivaLinux-CrossDesktop;
diff --git a/extras/polkit/org.mageia.adminpanel.policy b/extras/polkit/org.mageia.mpan.policy
index 6b8baf9b..5d793cf1 100644
--- a/extras/polkit/org.mageia.adminpanel.policy
+++ b/extras/polkit/org.mageia.mpan.policy
@@ -7,7 +7,7 @@
<vendor>Mageia.Org</vendor>
<vendor_url>http://www.mageia.org</vendor_url>
- <action id="org.mageia.adminpanel.pkexec.run">
+ <action id="org.mageia.mpan.pkexec.run">
<description>Allow APanel GUI</description>
<message>Authentication is required to run the program apanel (user=$(user), program=$(program), command_line=$(command_line))</message>
<defaults>
@@ -15,7 +15,7 @@
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/apanel.pl</annotate>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/mpan.pl</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>