关于dock monitor社区插件接口更新的说明
Tofloor
poster avatar
jingle
deepin
2017-11-01 02:09
Author
1、更新插件的 json 文件,添加 api 字段,值是 1.0

{
    "api": "1.0"
}
2、下载最新的 dde-dock-dev 包,使用新的 interface rebuild 插件

3、如果要支持右键菜单隐藏,覆盖 pluginsIsAllowDisable、pluginsIsDisable、pluginsStateSwitched 三个函数。具体参考其它插件的实现。

Reply Favorite View the author
All Replies

No replies yet