Fix .policy and .desktop

pull/156/head
Dmitry Razumov 5 months ago
parent 6d1f4bffb5
commit a12f18881e
Signed by: asmeron
GPG Key ID: 50BC1DB583B79706

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<vendor>UBLinux</vendor>
<vendor_url>https://ublinux.ru</vendor_url>
<action id="com.ublinux.ubl-settings-logging">
<description>Run ubl-settings-logging as root</description>
<description xml:lang="ru">Запуск утилиты ubl-settings-logging с правами root</description>
<message>Authentication is required to run ubl-settings-logging</message>
<message xml:lang="ru">Требуется авторизация для запуска утилиты ubl-settings-logging с правами root</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/pkexec</annotate>
</action>
</policyconfig>

@ -8,14 +8,14 @@
<vendor_url>https://ublinux.ru</vendor_url>
<action id="com.ublinux.ubl-settings-logging.run">
<description>Run ubl-settings-logging as root</description>
<description xml:lang="ru">Запуск утилиты ubl-settings-logging с правами root</description>
<message>Authentication is required to run ubl-settings-logging</message>
<message xml:lang="ru">Требуется авторизация для запуска утилиты ubl-settings-logging с правами root</message>
<description>Run log and event log settings as root user</description>
<description xml:lang="ru">Запустить настройки логов и журналов событий от имени пользователя root</description>
<message>Authentication is required to run log and event log settings as root</message>
<message xml:lang="ru">Требуется аутентификация для запуска настроек логов и журналов событий от имени пользователя root</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/ubl-settings-logging</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>

@ -2,14 +2,18 @@
Encoding=UTF-8
Name=Logs and events
Name[ru]=Логи и журналы событий
GenericName=ubl-settings-logging
GenericName[ru]=ubl-settings-logging
Comment=Logs and events configuration
Comment[ru]=Настройка логов и журналов событий
GenericName=Logs and events
GenericName[ru]=Логи и журналы событий
Comment=Logs and events settings
Comment[ru]=Настройки логов и журналов событий
Keywords=ubl-settings-logging;settings;logs;events;
Keywords[ru]=ubl-settings-logging;настройки;журнал;логи;события;
Type=Application
Exec=pkexec ubl-settings-logging
Exec=ubl-settings-logging
Icon=com.ublinux.ubl-settings-logging
Terminal=false
StartupNotify=true
StartupWMClass=ubl-settings-logging
X-XfcePluggable=true
X-UBLPluggable=true
Categories=GTK;X-UBL-SettingsManager;X-UBL-Personal-Settings;
Categories=XFCE;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-SystemSettings;X-UBL-SettingsManager;X-UBL-SystemSettings;

Loading…
Cancel
Save