mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-05-29 04:46:10 +00:00

1、删除项目中对libdframeworkdbus-dev库的依赖,通过使用xml2cpp的工具来自动生成dbus接口文件,在使用到dbus库的项目中包含生成文件的目录 2、修改相关服务中v20的接口(com.deepin...)为v23的接口(org.deepin...) Log: Influence: 打开控制中心,鼠标移动唤醒任务栏、加载插件等,观察相关功能是否正常 Task: https://pms.uniontech.com/task-view-182009.html Change-Id: I960c849d06ed271ebbb9f8e479d9879967523581
62 lines
2.8 KiB
XML
62 lines
2.8 KiB
XML
<interface name="org.kde.StatusNotifierItem">
|
|
<property access="read" type="s" name="Category"/>
|
|
<property access="read" type="s" name="Id"/>
|
|
<property access="read" type="s" name="Title"/>
|
|
<property access="read" type="s" name="Status"/>
|
|
<property access="read" type="i" name="WindowId"/>
|
|
<!-- An additional path to add to the theme search path to find the icons specified above. -->
|
|
<property access="read" type="s" name="IconThemePath"/>
|
|
<property access="read" type="o" name="Menu"/>
|
|
<property access="read" type="b" name="ItemIsMenu"/>
|
|
<!-- main icon -->
|
|
<!-- names are preferred over pixmaps -->
|
|
<property access="read" type="s" name="IconName"/>
|
|
<!--struct containing width, height and image data-->
|
|
<property access="read" type="a(iiay)" name="IconPixmap">
|
|
<annotation value="DBusImageList" name="org.qtproject.QtDBus.QtTypeName"/>
|
|
</property>
|
|
<property access="read" type="s" name="OverlayIconName"/>
|
|
<property access="read" type="a(iiay)" name="OverlayIconPixmap">
|
|
<annotation value="DBusImageList" name="org.qtproject.QtDBus.QtTypeName"/>
|
|
</property>
|
|
<!-- Requesting attention icon -->
|
|
<property access="read" type="s" name="AttentionIconName"/>
|
|
<!--same definition as image-->
|
|
<property access="read" type="a(iiay)" name="AttentionIconPixmap">
|
|
<annotation value="DBusImageList" name="org.qtproject.QtDBus.QtTypeName"/>
|
|
</property>
|
|
<property access="read" type="s" name="AttentionMovieName"/>
|
|
<!-- tooltip data -->
|
|
<!--(iiay) is an image-->
|
|
<property access="read" type="(sa(iiay)ss)" name="ToolTip">
|
|
<annotation value="DBusToolTip" name="org.qtproject.QtDBus.QtTypeName"/>
|
|
</property>
|
|
<!-- interaction: the systemtray wants the application to do something -->
|
|
<method name="ContextMenu">
|
|
<!-- we're passing the coordinates of the icon, so the app knows where to put the popup window -->
|
|
<arg direction="in" type="i" name="x"/>
|
|
<arg direction="in" type="i" name="y"/>
|
|
</method>
|
|
<method name="Activate">
|
|
<arg direction="in" type="i" name="x"/>
|
|
<arg direction="in" type="i" name="y"/>
|
|
</method>
|
|
<method name="SecondaryActivate">
|
|
<arg direction="in" type="i" name="x"/>
|
|
<arg direction="in" type="i" name="y"/>
|
|
</method>
|
|
<method name="Scroll">
|
|
<arg direction="in" type="i" name="delta"/>
|
|
<arg direction="in" type="s" name="orientation"/>
|
|
</method>
|
|
<!-- Signals: the client wants to change something in the status-->
|
|
<signal name="NewTitle"/>
|
|
<signal name="NewIcon"/>
|
|
<signal name="NewAttentionIcon"/>
|
|
<signal name="NewOverlayIcon"/>
|
|
<signal name="NewToolTip"/>
|
|
<signal name="NewStatus">
|
|
<arg type="s" name="status"/>
|
|
</signal>
|
|
</interface>
|