-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
notification: Add properties for specs v2
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -164,6 +164,7 @@ call_done (GObject *source, | |
* | ||
* - title `s`: a user-visible string to display as title | ||
* - body `s`: a user-visible string to display as body | ||
* - markup-body `s`: a user-visible string to display as body with support for markup | ||
* - icon `v`: a serialized icon (in the format produced by [[email protected]] | ||
* for [email protected], [email protected] and [email protected]) | ||
* - sound `v`: a serialized sound | ||
|
@@ -173,6 +174,10 @@ call_done (GObject *source, | |
* - default-action-target `v`: target parameter to send along when | ||
* activating the default action. | ||
* - buttons `aa{sv}`: array of serialized buttons | ||
* - desktop-file-id `s`: A desktop file id containing the .desktop suffix. | ||
* - display-hint `as`: An array of display hints. | ||
* - content-type `s`: A content type. | ||
* - actions `aa{sv}`: array of serialized actions. | ||
* | ||
* The serialized sound consists of a `s` or `sv`: | ||
* - default : Play the default sound for the notification. | ||
|
@@ -185,9 +190,17 @@ call_done (GObject *source, | |
* - label `s`: user-visible lable for the button. Mandatory | ||
* - action `s`: name of an action that will be activated when | ||
* the user clicks on the button. Mandatory | ||
* - purpose `s`: information used by the server to style the button specially. | ||
* - target `v`: target parameter to send along when activating | ||
* the button | ||
* | ||
* Each serialized action is a dictionary with the following supported keys: | ||
* | ||
* - action `s`: name of an action that will be activated. Mandatory | ||
* - purpose `s`: the purpose for what this action is called. | ||
* - target `v`: target parameter to send along when activating | ||
* the action contained in a response vardict as target `v`. | ||
* | ||
* Actions with a prefix of "app." are assumed to be exported by the | ||
* application and will be activated via the org.freedesktop.Application | ||
* interface, others are activated by emitting the | ||
|