summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-gravatar.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus/gnus-gravatar.el')
-rw-r--r--lisp/gnus/gnus-gravatar.el13
1 files changed, 6 insertions, 7 deletions
diff --git a/lisp/gnus/gnus-gravatar.el b/lisp/gnus/gnus-gravatar.el
index 14e224051bb..2af975b09c7 100644
--- a/lisp/gnus/gnus-gravatar.el
+++ b/lisp/gnus/gnus-gravatar.el
@@ -33,14 +33,13 @@
(defcustom gnus-gravatar-size 32
"How big should gravatars be displayed."
:type 'integer
+ :version "24.1"
:group 'gnus-gravatar)
-(defcustom gnus-gravatar-relief 1
- "If non-nil, adds a shadow rectangle around the image. The
-value, relief, specifies the width of the shadow lines, in
-pixels. If relief is negative, shadows are drawn so that the
-image appears as a pressed button; otherwise, it appears as an
-unpressed button."
+(defcustom gnus-gravatar-properties '(:ascent center :relief 1)
+ "List of image properties applied to Gravatar images."
+ :type 'list
+ :version "24.1"
:group 'gnus-gravatar)
(defun gnus-gravatar-transform-address (header category)
@@ -88,7 +87,7 @@ Set image category to CATEGORY."
(point (point))
(gravatar (append
gravatar
- `(:ascent center :relief ,gnus-gravatar-relief))))
+ gnus-gravatar-properties)))
(gnus-put-image gravatar nil category)
(put-text-property point (point) 'gnus-gravatar address)
(gnus-add-wash-type category)