Commit graph

18 commits

Author SHA1 Message Date
Dave Love
5ec176363c (tool-bar-setup): Don't suppress write-file
and save-buffer if buffer-file-name non-nil.  From rms.
2001-03-10 13:20:47 +00:00
Eli Zaretskii
cb4aae0475 (tool-bar-add-item): Doc fix. 2001-01-31 13:23:12 +00:00
Gerd Moellmann
3fae165ccb (tool-bar-add-item-from-menu): Use
face-attribute instead of face-foreground and face-background.
(tool-bar-add-item): Likewise, and handle unspecified colors.
2000-11-29 19:21:47 +00:00
Gerd Moellmann
a81fc5106e (tool-bar-mode): Doc fix. 2000-11-29 15:29:45 +00:00
Gerd Moellmann
7e6369044d (tool-bar-add-item-from-menu): Handle case
that foreground and/or background colors of the face `tool-bar'
are unspecified.
2000-11-27 11:28:24 +00:00
Dave Love
c129b5ef1e comment fix 2000-11-17 17:50:48 +00:00
Stefan Monnier
ff49cf9a7b (tool-bar-mode): Drop unneeded positional args. 2000-11-03 23:06:40 +00:00
Dave Love
3b6d80f1ed (tool-bar-add-item-from-menu)
(tool-bar-add-item): Set foreground and background for XBM icons.
2000-10-23 18:00:51 +00:00
Eli Zaretskii
b28e72df6e Fix a typo. 2000-10-11 14:11:47 +00:00
Dave Love
34e86ea33b (tool-bar-add-item)
(tool-bar-add-item-from-menu): Don't favour XPM icons on mono
display.
2000-10-10 09:31:04 +00:00
Dave Love
c2156508df (tool-bar-add-item-from-menu): Add autoload cookie. 2000-10-09 17:56:11 +00:00
Dave Love
adf7d3a874 (tool-bar-mode): Check whether tool-bar-map
has been initialized before calling tool-bar-setup.
2000-10-09 11:12:06 +00:00
Dave Love
9a4b8870fe (tool-bar-map): Define it empty.
(global-map): Bind [tool-bar] to a filtered map.
(tool-bar-add-item): Remove MAP arg.  Allow PBM icons.
(tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
Allow PBM icons.
(tool-bar-setup): Adjust calls of tool-bar-add-item.
2000-10-08 15:29:52 +00:00
Dave Love
ebd4825d4a (tool-bar-setup): New function.
(tool-bar-mode): Use it.
2000-10-04 09:36:30 +00:00
Miles Bader
c5785b73db (tool-bar-help): Use `mouse-pixel-position'. 2000-09-27 04:20:25 +00:00
Gerd Moellmann
cd3b81be39 (tool-bar-help): New function. 2000-09-26 09:35:27 +00:00
Miles Bader
ddba99ad14 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
(tool-bar-add-item-from-menu): Like in toolbar-add-item, if image
  doesn't have a mask add a `:mask heuristic'.
2000-09-20 07:18:35 +00:00
Dave Love
ec7f4585a2 Renamed from toolbar.el. Change `toolbar'
to `tool-bar' generally in symbols.  Make some items invisible in
`special' major modes.
(tool-bar-add-item-from-menu): Renamed from
toolbar-like-menu-item.  Add arg PROPS.
2000-09-19 17:36:49 +00:00