-
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: Ensure all properties for specs v2 are in the docs
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -169,6 +169,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 | ||
|
@@ -178,6 +179,9 @@ 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. | ||
* - category `s`: A category for this notification. [See the spec for supported categories](https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Notification.html#org-freedesktop-portal-notification-addnotification) | ||
* | ||
* The serialized sound consists of a `s` or `sv`: | ||
* - default : Play the default sound for the notification. | ||
|
@@ -189,9 +193,10 @@ call_done (GObject *source, | |
* | ||
* Each serialized button is a dictionary with the following supported keys: | ||
* | ||
* - label `s`: user-visible lable for the button. Mandatory | ||
* - label `s`: user-visible lable for the button. Mandatory without a purpose. | ||
* - 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 | ||
* | ||
|