dde-dock/plugins/overlay-warning/org.deepin.dde.dock.overlay.policy
范朋程 2d958dd670 chore: V23接口改造适配
V23接口改造适配

Log: V23接口改造适配
Influence: 无
Task: https://pms.uniontech.com/task-view-207483.html
Change-Id: Ide530c023ea41f86fad2e8001ec67f1afaa897ab
2022-12-06 14:40:35 +08:00

33 lines
1.7 KiB
XML

<?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>Deepin</vendor>
<action id="com.deepin.dde.dock.overlay">
<icon_name>dialog-warning</icon_name>
<message>The system is in overlay mode, and all your work will not be saved. Do you want to exit this mode and restart?</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<message xml:lang="zh_CN">本次启动处于 overlay 保护模式下,您的所有操作将不会被保存,是否要关闭此模式并重启?</message>
<annotate key="org.freedesktop.policykit.exec.path">/sbin/overlayroot-disable</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
<action id="com.deepin.dde.dock.overlay1">
<icon_name>dialog-warning</icon_name>
<message>The system is in overlay mode, and all your work will not be saved. Do you want to exit this mode and restart?</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<message xml:lang="zh_CN">本次启动处于 overlay 保护模式下,您的所有操作将不会被保存,是否要关闭此模式并重启?</message>
<annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/overlayroot-disable</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>