Commit Graph

26 Commits

Author SHA1 Message Date
Marco Trevisan (Treviño) d07785959c notification: Add support for getting actions activation token
Notification actions can now be activated with an activation token
containing platform data. So update the notification-spec to include
latest version of the specification, and expose the activation token
during an action activation.

Not to change the API, by modifying the type of NotifyActionCallback
it's just better to provide a function to fetch the activation token
during activation only, so that this can be retro-compatible.

Reference: https://gitlab.freedesktop.org/xdg/xdg-specs/-/commit/b9a4700
2022-04-27 18:02:20 +02:00
Jan Tojnar a1bedfa65e
docs: Fix spec build
Correct DTD and add config.xsl to EXTRA_DIST
2019-01-26 10:44:22 +01:00
Matthias Clasen bd385da02a More D-Bus type clarifications
Only use conventional names where they uniquely identify
the wire type, and type signatures elsewhere. This replaces
DICT by a{sv}
ARRAY by as
STRING_ARRAY by as
2011-09-05 08:55:08 -04:00
Matthias Clasen 3a60c433fd Spec: Clarify types of hints
Most type names were clear, but 'int' could map to different
dbus types. Use conventional D-Bus type names througout.
2011-09-05 08:31:58 -04:00
Colin Walters 52cb20bb53 spec: Explicitly document components of on image data
Since we're just passing it ultimately to gdk_pixbuf_new_from_data in
the server, we really should be documenting the restrictions here, such
as bits_per_sample always being 8.

https://bugzilla.gnome.org/show_bug.cgi?id=647672
2011-05-03 13:41:43 -04:00
William Jon McCann 9fae742d43 Mark image_path as deprecated 2011-01-17 17:02:27 -05:00
William Jon McCann b20752a2e5 Use - instead of _ in hint names consistently 2011-01-17 16:57:31 -05:00
William Jon McCann 1fdab39d65 [spec] Add action-icons hint and server capability
https://bugzilla.gnome.org/show_bug.cgi?id=633510
2010-10-29 18:17:11 -04:00
William Jon McCann 4fa4cedd2e Remove some outdated text in abstract 2010-10-28 14:33:36 -04:00
William Jon McCann dfcf661b80 Add spec versions to transient and resident hints 2010-10-28 14:29:15 -04:00
William Jon McCann a0bab8e3d0 Bump spec version and update authors 2010-10-28 14:26:33 -04:00
William Jon McCann 31dd7c3f7c Add transient hint
https://bugzilla.gnome.org/show_bug.cgi?id=633312
2010-10-28 14:21:59 -04:00
William Jon McCann 015131721c Add persistence server capability 2010-10-28 14:19:32 -04:00
William Jon McCann 487297e072 Add resident hint to the spec.
https://bugzilla.gnome.org/show_bug.cgi?id=633313
2010-10-28 14:14:09 -04:00
Aurélien Gâteau 4497c99f85 [spec] Update for version 1.1 2010-01-31 16:17:24 -05:00
A. Walton b6c250fcb9 [spec] Clarify image_data/path precidence
Image Data should be considered before Image Path if both are
present (which they shouldn't be, but isn't a hard error).
2010-01-31 15:43:10 -05:00
A. Walton b42a41d5ec [spec] Add sound-name hint 2010-01-31 15:36:28 -05:00
A. Walton 5a08fb1ab7 [spec] Deprecate icon_data in favor of image_data and image_path hints
As discussed on the XDG list.
http://lists.freedesktop.org/archives/xdg/2009-June/010524.html
http://lists.freedesktop.org/archives/xdg/2009-June/010568.html
2010-01-31 15:36:28 -05:00
William Jon McCann 9bc1f5d983 [spec] Fix typo in desktop-entry 2010-01-31 15:36:28 -05:00
William Jon McCann 25b3a73e3d [spec] Fix icon_data typo in 1.0 version 2010-01-31 15:36:14 -05:00
Christian Hammond a94bdff41a - Add a spec_version return value for GetServerInformation.
- Bump to version 1.0. It's about time, and things are pretty solid now.
2007-08-26 01:26:29 +00:00
Christian Hammond 47cde24c15 Fixed to actually be valid docbook. 2006-01-26 07:45:24 +00:00
Christian Hammond df803f9d01 Fix some errors in the spec file. Some pieces were not updated when the specification was changed, and some pieces were invalid XML. 2006-01-23 07:47:03 +00:00
Christian Hammond 85342c8619 - Fix some weird argument ordering in the calls to dbus_g_proxy_call_*().
- Re-order the arguments as per the spec.
- Change NOTIFY_TIMEOUT_* to NOTIFY_EXPIRES_*.
- Update the spec to 0.9.
2006-01-20 10:00:32 +00:00
Christian Hammond 85981b247c Add back notify_get_server_info() and notify_get_server_caps(). 2006-01-16 01:53:06 +00:00
John (J5) Palmieri 6017d6af7b First import of the next generation libnotify API 2005-11-10 19:18:10 +00:00