[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r100555: * net/notifications.el (dbus
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r100555: * net/notifications.el (dbus-register-signal): Declare function. |
Date: |
Wed, 09 Jun 2010 13:16:21 +0200 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100555
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Wed 2010-06-09 13:16:21 +0200
message:
* net/notifications.el (dbus-register-signal): Declare function.
(notifications-notify): Fix typos and reflow docstring.
modified:
lisp/ChangeLog
lisp/net/notifications.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-06-09 07:47:14 +0000
+++ b/lisp/ChangeLog 2010-06-09 11:16:21 +0000
@@ -1,3 +1,8 @@
+2010-06-09 Juanma Barranquero <address@hidden>
+
+ * net/notifications.el (dbus-register-signal): Declare function.
+ (notifications-notify): Fix typos and reflow docstring.
+
2010-06-09 Dan Nicolaescu <address@hidden>
Improve VC create/retrieve tag/branch.
=== modified file 'lisp/net/notifications.el'
--- a/lisp/net/notifications.el 2010-06-09 07:36:45 +0000
+++ b/lisp/net/notifications.el 2010-06-09 11:16:21 +0000
@@ -38,6 +38,7 @@
;; disabled with configuration option "--without-dbus". Declare used
;; subroutines and variables of `dbus' therefore.
(declare-function dbus-call-method "dbusbind.c")
+(declare-function dbus-register-signal "dbusbind.c")
(require 'dbus)
@@ -127,9 +128,10 @@
:actions A list of actions in the form:
(KEY TITLE KEY TITLE ...)
where KEY and TITLE are both strings.
- The default action (usually invoked by clicking the
notification)
- should have a key named \"default\". The name can be anything,
- though implementations are free not to display it.
+ The default action (usually invoked by clicking the
+ notification) should have a key named \"default\".
+ The name can be anything, though implementations are free
+ not to display it.
:timeout The timeout time in milliseconds since the display
of the notification at which the notification should
automatically close.
@@ -150,14 +152,14 @@
:suppress-sound Causes the server to suppress playing any sounds, if it has
that ability.
:x Specifies the X location on the screen that the notification
- should point to. The \"y\" hint must also be specified.
+ should point to. The \"y\" hint must also be specified.
:y Specifies the Y location on the screen that the notification
- should point to. The \"x\" hint must also be specified.
- :on-action Function to call when an action is invoked. The key of the
+ should point to. The \"x\" hint must also be specified.
+ :on-action Function to call when an action is invoked. The key of the
action is passed as argument to the function.
:on-close Function to call when the notification has been closed
by timeout or by the user.
- The function receive the closing reason as argument:
+ The function receives the closing reason as argument:
- `expired' if the notification has expired
- `dismissed' if the notification was dismissed by the user
- `close-notification' if the notification was closed
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r100555: * net/notifications.el (dbus-register-signal): Declare function.,
Juanma Barranquero <=