projects
/
elisp
/
wanderlust.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
155747a
)
Don't define vector with images for the icon if there is only one image.
author
vitaly
<vitaly>
Wed, 28 Apr 2010 08:46:35 +0000
(08:46 +0000)
committer
vitaly
<vitaly>
Wed, 28 Apr 2010 08:46:35 +0000
(08:46 +0000)
wl/ChangeLog
patch
|
blob
|
history
wl/wl-e21.el
patch
|
blob
|
history
diff --git
a/wl/ChangeLog
b/wl/ChangeLog
index
d3ad732
..
9dea461
100644
(file)
--- a/
wl/ChangeLog
+++ b/
wl/ChangeLog
@@
-1,3
+1,7
@@
+2010-04-28 Vitaly Mayatskikh <v.mayatskih@gmail.com>
+ * wl-e21.el (wl-e21-setup-toolbar): Don't define vector with
+ images for the icon if there is only one image.
+
2010-03-17 Katsumi Yamaoka <yamaoka@jpl.org>
* wl-draft.el (wl-user-agent-insert-body): Make sure body ends with
2010-03-17 Katsumi Yamaoka <yamaoka@jpl.org>
* wl-draft.el (wl-user-agent-insert-body): Make sure body ends with
diff --git
a/wl/wl-e21.el
b/wl/wl-e21.el
index
325475c
..
05e49ba
100644
(file)
--- a/
wl/wl-e21.el
+++ b/
wl/wl-e21.el
@@
-202,7
+202,9
@@
`((,@props ,(concat name "-down.xpm"))))
disabled (wl-e21-find-image
`((,@props ,(concat name "-disabled.xpm")))))
`((,@props ,(concat name "-down.xpm"))))
disabled (wl-e21-find-image
`((,@props ,(concat name "-disabled.xpm")))))
- (set icon (vector down up disabled disabled)))
+ (if (and down disabled)
+ (set icon (vector down up disabled disabled))
+ (set icon up)))
(setq bar nil
success nil))))
success)))
(setq bar nil
success nil))))
success)))