diff options
-rw-r--r-- | extras/desktop/manalog.desktop | 9 | ||||
-rw-r--r-- | extras/desktop/manauserlog.desktop | 9 | ||||
-rw-r--r-- | extras/polkit/org.mageia.manalog.policy (renamed from extras/polkit/org.mageia.logviewer.policy) | 4 | ||||
-rwxr-xr-x | scripts/manalog (renamed from scripts/logviewer) | 0 |
4 files changed, 20 insertions, 2 deletions
diff --git a/extras/desktop/manalog.desktop b/extras/desktop/manalog.desktop new file mode 100644 index 0000000..ceaa498 --- /dev/null +++ b/extras/desktop/manalog.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=manalog admin mode +Comment=AdminPanel log viewer +Exec=pkexec /usr/bin/logviewer +Icon=logdrake-mdk +Type=Application +StartupNotify=true +Categories=System;X-MandrivaLinux-CrossDesktop; + diff --git a/extras/desktop/manauserlog.desktop b/extras/desktop/manauserlog.desktop new file mode 100644 index 0000000..c6d62d2 --- /dev/null +++ b/extras/desktop/manauserlog.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=manalog user mode +Comment=AdminPanel log viewer +Exec=/usr/bin/logviewer +Icon=logdrake-mdk +Type=Application +StartupNotify=true +Categories=System;X-MandrivaLinux-CrossDesktop; + diff --git a/extras/polkit/org.mageia.logviewer.policy b/extras/polkit/org.mageia.manalog.policy index bbdd36c..ba2c29c 100644 --- a/extras/polkit/org.mageia.logviewer.policy +++ b/extras/polkit/org.mageia.manalog.policy @@ -7,7 +7,7 @@ <vendor>Mageia</vendor> <vendor_url>http://www.mageia.org/</vendor_url> - <action id="org.mageia.logviewer.pkexec.run"> + <action id="org.mageia.manalog.pkexec.run"> <description>Run Mageia Log Viewer</description> <description xml:lang="ca">Executa el visor de registres de Mageia</description> <description xml:lang="el">Εκτέλεση του Προβολέα Καταγραφών Mageia</description> @@ -45,7 +45,7 @@ <allow_inactive>no</allow_inactive> <allow_active>auth_admin_keep</allow_active> </defaults> - <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/logviewer</annotate> + <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/manalog</annotate> <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> </action> </policyconfig> diff --git a/scripts/logviewer b/scripts/manalog index 8edac7f..8edac7f 100755 --- a/scripts/logviewer +++ b/scripts/manalog |