1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
Michael Albinus
b538063943 * notifications.el (top): Remove unneeded declarations. 2012-04-24 23:47:24 +02:00
Michael Albinus
400386db61 * notifications.el (notifications-get-capabilities): Fix docstring. 2012-04-24 23:44:12 +02:00
Michael Albinus
e43042fe33 * notifications.el (notifications-specification-version): Change to "1.2".
(notifications-notify): Add :action-items, :resident and
:transient hints.  Change "image_data" to "image-data" and
"image_path" to "image-path".
(notifications-get-capabilities): Return a list of keywords.

* os.texi (Notifications): Extend possible notification hints.
2012-04-24 19:56:30 +02:00
Michael Albinus
b613912bad * notifications.el (notifications-interface)
(notifications-notify-method, notifications-notify)
(notifications-close-notification-method): Fix docstring.
(notifications-get-capabilities-method): New defconst.
(notifications-get-capabilities): New defun.

* os.texi: (Notifications): Add notifications-get-capabilities.
2012-04-24 17:19:07 +02:00
Michael Albinus
66b907dcb2 * notifications.el (notifications-notify): Fix docstring. 2012-04-03 09:20:32 +02:00
Michael Albinus
6612a28444 Avoid superfluous registering of signals. (Bug#10807)
* notifications.el (notifications-on-action-object)
(notifications-on-close-object): New defvars.
(notifications-on-action-signal, notifications-on-closed-signal):
Unregister the signal if not needed any longer.
(notifications-notify): Register `notifications-action-signal' or
`notifications-closed-signal', if :on-action or :on-close has been
passed as argument.
2012-03-07 08:48:16 +01:00
Michael Albinus
db976e3cd8 Fix typo. 2012-03-04 15:12:18 +01:00
Michael Albinus
a41a6cf444 * notifications.el: Fix previous patch. 2012-03-04 14:43:13 +01:00
Michael Albinus
ebeabff47e * notifications.el (notifications-unique-name): New defvar.
(notifications-on-action-signal, notifications-on-closed-signal):
Check for unique service name of incoming event.
(top): Register for signals with wildcard service name.
(notifications-notify): Remember daemon unique service name.
2012-03-04 12:21:31 +01:00
Michael Albinus
5b77774d02 * notifications.el (notifications-on-closed-signal): Make `reason'
optional.  (Bug#10744)
2012-02-07 10:06:19 +01:00
Glenn Morris
acaf905b11 Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
Paul Eggert
40ba43b4b7 Spelling fixes. 2011-11-19 23:30:16 -08:00
Michael Albinus
7f5c46c780 * notifications.el: Add the requirement of a running D-Bus session
bus to the Commentary.
2011-10-24 10:02:02 +02:00
Julien Danjou
79adf8c87e * notifications.el (notifications-notify): Fix docstring. 2011-10-01 15:19:17 +02:00
Stefan Monnier
0adf561883 Fix misuse of quote in `case'.
* lisp/progmodes/ruby-mode.el (ruby-backward-sexp):
* lisp/progmodes/ebrowse.el (ebrowse-draw-file-member-info):
* lisp/play/gamegrid.el (gamegrid-make-face):
* lisp/play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
(bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
* lisp/notifications.el (notifications-notify):
* lisp/net/xesam.el (xesam-search-engines):
* lisp/net/quickurl.el (quickurl-list-insert):
* lisp/vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
* lisp/gnus/auth-source.el (auth-source-netrc-create):
* lisp/gnus/message.el (message-yank-original): Fix use of `case'.
* lisp/org/org-src.el (org-src-switch-to-buffer):
* lisp/org/org-plot.el (org-plot/gnuplot-script, org-plot/gnuplot):
* lisp/org/org-mouse.el (org-mouse-agenda-type):
* lisp/org/org-freemind.el (org-freemind-node-to-org):
* lisp/org/ob-sql.el (org-babel-execute:sql):
* lisp/org/ob-exp.el (org-babel-exp-do-export, org-babel-exp-code):
* lisp/org/ob-ref.el (org-babel-ref-resolve): Fix use of case.
2011-03-15 13:39:56 -04:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Glenn Morris
d0d4361dba Add 2011 to remaining FSF/AIST copyright years. 2011-01-15 14:10:37 -08:00
Julien Danjou
4234374700 * lisp/notifications.el: Call dbus-register-signal only if it is bound. 2010-09-25 14:57:02 -07:00
Michael Albinus
7ea2d3835e * notifications.el (notifications-notify): Add support for
image-path and sound-name.
(notifications-specification-version): Add this variable.
2010-09-13 06:39:36 +02:00
Michael Albinus
3ef0a6a5fe * notifications.el: Move file from lisp/net, because it is
supposed to talk locally to the user.
2010-06-10 14:56:11 +02:00
Michael Albinus
ef33fd3404 move notifications.el to net/ 2010-06-09 09:36:45 +02:00
Michael Albinus
41a863541c * notifications.el: New file. 2010-06-09 09:17:23 +02:00