feat: add property LaunchedTimes
refactor implementation of LastLaunchedTime Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
@ -2,24 +2,25 @@
|
||||
<node>
|
||||
<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."
|
||||
name="org.freedesktop.DBus.Description"
|
||||
value="This interface is designed to provide a dbus interface of desktop file. Missing fields will be added later."
|
||||
/>
|
||||
|
||||
<property name="Categories" type="as" access="read"/>
|
||||
<property name="X_linglong" type="b" access="read"/>
|
||||
<property name="X_Flatpak" type="b" access="read"/>
|
||||
|
||||
<property name="Categories" type="as" access="read" />
|
||||
<property name="X_linglong" type="b" access="read" />
|
||||
<property name="X_Flatpak" type="b" access="read" />
|
||||
<property name="X_Deepin_Vendor" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Description" value="Whem this property is 'deepin', display name of the application
|
||||
should use GenericName."
|
||||
<annotation name="org.freedesktop.DBus.Description"
|
||||
value="Whem this property is 'deepin', display name of the application
|
||||
should use GenericName."
|
||||
/>
|
||||
</property>
|
||||
<property name="installedTime" type="t" access="read"/>
|
||||
<property name="NoDisplay" type="b" access="read"/>
|
||||
<property name="MimeTypes" type="as" access="readwrite"/>
|
||||
|
||||
<property name="NoDisplay" type="b" access="read" />
|
||||
<property name="MimeTypes" type="as" access="readwrite" />
|
||||
|
||||
<property name="Actions" type="as" access="read">
|
||||
<annotation
|
||||
<annotation
|
||||
name="org.freedesktop.DBus.Description"
|
||||
value="Names of all action identifiers of this application.
|
||||
Check https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#extra-actions
|
||||
@ -27,8 +28,30 @@
|
||||
/>
|
||||
</property>
|
||||
|
||||
<property name="AutoStart" type="b" access="readwrite"/>
|
||||
<property name="LastLaunchedTime" type="t" access="read"/>
|
||||
<property name="AutoStart" type="b" access="readwrite" />
|
||||
<property name="LastLaunchedTime" type="x" access="read">
|
||||
<annotation
|
||||
name="org.freedesktop.DBus.Description"
|
||||
value="Set the value of this property to -1 to
|
||||
indicates that some errors has occured."
|
||||
/>
|
||||
</property>
|
||||
|
||||
<property name="LaunchedTimes" type="x" access="read">
|
||||
<annotation
|
||||
name="org.freedesktop.DBus.Description"
|
||||
value="Set the value of this property to -1 to
|
||||
indicates that some errors has occured."
|
||||
/>
|
||||
</property>
|
||||
|
||||
<property name="InstalledTime" type="x" access="read">
|
||||
<annotation
|
||||
name="org.freedesktop.DBus.Description"
|
||||
value="Set the value of this property to -1 to
|
||||
indicates that some errors has occured."
|
||||
/>
|
||||
</property>
|
||||
|
||||
<property name="Instances" type="ao" access="read">
|
||||
<annotation
|
||||
@ -47,17 +70,17 @@
|
||||
</property>
|
||||
|
||||
<property name="Terminal" type="b" access="read">
|
||||
<annotation
|
||||
<annotation
|
||||
name="org.freedesktop.DBus.Description"
|
||||
value="Indicate this application should launch by terminal or not."
|
||||
/>
|
||||
</property>
|
||||
|
||||
<property name="ScaleFactor" type="d" access="readwrite">
|
||||
<annotation
|
||||
name="org.freedesktop.DBus.Description"
|
||||
<annotation
|
||||
name="org.freedesktop.DBus.Description"
|
||||
value="Indicate the scale factor of application's instance.
|
||||
Note: Set `0` to use global scaleFactor"
|
||||
Note: Set `0` to use global scaleFactor"
|
||||
/>
|
||||
</property>
|
||||
|
||||
|
Reference in New Issue
Block a user