feat: implementation of the major feature of dbus service
Log: Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
@ -3,9 +3,7 @@
|
||||
<interface name="org.desktopspec.ApplicationManager1.Application">
|
||||
<annotation
|
||||
name="org.freedesktop.DBus.Description"
|
||||
value="This interface is designed to
|
||||
provide a dbus interface of desktop file.
|
||||
Missing fields will be added later."
|
||||
value="This interface is designed to provide a dbus interface of desktop file. Missing fields will be added later."
|
||||
/>
|
||||
|
||||
<property name="Actions" type="as" access="read">
|
||||
|
@ -2,6 +2,15 @@
|
||||
<node>
|
||||
<interface name="org.desktopspec.ApplicationManager1">
|
||||
<property type="ao" access="read" name="List" />
|
||||
<method name="UpdateApplicationInfo">
|
||||
<arg type="as" name="update_path" direction="in" />
|
||||
<annotation
|
||||
name="org.freedesktop.DBus.Description"
|
||||
value="This method is used to update the desktop file cache when needed.
|
||||
You can pass a list of absolute paths to files or directories that you want to update.
|
||||
Note: Application Manager only supports directory paths in $XDG_DATA_DIRS."
|
||||
/>
|
||||
</method>
|
||||
|
||||
<method name="Application">
|
||||
<arg type="s" name="id" direction="in" />
|
||||
|
Reference in New Issue
Block a user