4 Commits

Author SHA1 Message Date
donghualin
e714c7e44e fix: 修改对老插件的兼容性问题
所有插件的api版本都改成2.0.0,PluginProxyInterface新增的接口放到最后的位置,保证老插件在加载的时候能调用到正确的函数

Log: 修改老插件的兼容性问题
Influence: 任务栏加载老插件
Bug: https://pms.uniontech.com/bug-view-132961.html
Change-Id: I0c2714db6a21f2d246126ce2d9cec96e8c706d80
2022-06-01 21:34:40 +08:00
listenerri
7a5501e53d feat: update plugin API version
Note:

1. add a new function in PluginProxyInterface for set applet widget
visible from  a plugin.

2. remove requestContextMenu function from PluginProxyInterface,
cause's the context menu should be handled in Dock, it is enough for
a plugin to simply provide menu data and handle callbacks with
functions itemContextMenu and invokedMenuItem in PluginsItemInterface

https://github.com/linuxdeepin/internal-discussion/issues/646

Change-Id: Ic4af4eee138e87911ff5b18ccbbb0c3f7187ac4d
2018-12-18 11:28:36 +08:00
listenerri
5d462fdc30 refactor: new dock plugins interface version 1.1
Change-Id: I8f9c36531aab7f04b3ffe656eb2f67516efe736d
2018-12-05 11:51:37 +08:00
listenerri
b689dbece2 refactor: tray plugin
- tray plugin support load dock plugin as system trays
- move network,sound,power plugins out of tray plugin, keepin them still be plugins

Change-Id: I03463ef55a9abc9823c1b9f7d9c95b00158e63ed
2018-11-15 17:37:05 +08:00