Commit graph

30 commits

Author SHA1 Message Date
Martin Rudalics
fca863b816 (tool-bar-mode): Modify all frame parameters when
toggling tool bars on.  (Bug#1754)
2009-01-10 09:51:28 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Chong Yidong
b806790118 (tool-bar-find-image-cache): Var deleted.
(tool-bar-find-image): Function deleted.
(tool-bar-local-item, tool-bar-local-item-from-menu): Use
find-image instead of tool-bar-find-image.
(tool-bar-keymap-cache): New hash table.
(tool-bar-make-keymap): Use it.
(tool-bar-make-keymap-1): Move body of tool-bar-make-keymap here.
2008-11-27 03:29:37 +00:00
Chong Yidong
e4779829b0 (tool-bar-setup): Variable deleted.
(tool-bar-setup): Set it up unconditionally.
2008-10-12 13:45:46 +00:00
Chong Yidong
afb465eb0e (tool-bar-local-item)
(tool-bar-local-item-from-menu): Put the check for number of
display colors into the image expression.
(tool-bar-setup): Don't be a no-op on ttys.
2008-10-11 19:45:51 +00:00
Chong Yidong
f3af39b802 (tool-bar-mode): Only change tool-bar-lines on graphical terminals.
(tool-bar-setup): No-op if called on a tty.
2008-10-09 19:30:47 +00:00
Miles Bader
9850eff524 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1398
2008-09-02 05:35:54 +00:00
Juanma Barranquero
d36b11e229 Fix typos (sync from the trunk).
* facemenu.el (facemenu-unlisted-faces): Fix obsolescence declaration.

* hi-lock.el (hi-lock-mode): Fix typo in docstring.

* icomplete.el (icomplete-compute-delay, icomplete-get-keys): Doc fixes.
  (icomplete-delay-completions-threshold): Fix typo in docstring.

* speedbar.el (speedbar-stealthy-function-list)
  (speedbar-verbosity-level, speedbar-supported-extension-expressions)
  (speedbar-update-current-file, speedbar-add-indicator)
  (speedbar-tag-expand): Reflow docstrings.
  (speedbar-use-imenu-flag, speedbar-use-tool-tips-flag)
  (speedbar-ignored-directory-regexp, speedbar-file-unshown-regexp)
  (speedbar-file-regexp, speedbar-message, speedbar-item-info)
  (speedbar-files-item-info, speedbar-fetch-replacement-function)
  (speedbar-maybe-add-localized-support)
  (speedbar-generic-list-positioned-group-p, speedbar-insert-generic-list)
  (speedbar-extract-one-symbol, speedbar-recenter-to-top)
  (speedbar-recenter, speedbar-separator-face): Fix typos in docstrings.
  (speedbar-ignored-directory-expressions, speedbar-handle-delete-frame)
  (speedbar-show-info-under-mouse, speedbar-directory-buttons)
  (speedbar-check-vc-this-line, speedbar-files-line-directory)
  (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
  (speedbar-buffers-line-directory): Doc fixes.

* tool-bar.el (tool-bar-add-item): Fix typo in docstring.

* emacs-lisp/edebug.el (edebug-unwrap*, edebug-signal)
  (edebug-restore-status): Doc fixes.
  (edebug-gensym, edebug-top-level-nonstop, edebug-eval-display)
  (edebug-eval-result-list, edebug-eval-redisplay, edebug)
  (edebug-trace): Fix typos in docstrings.

* emulation/tpu-edt.el (tpu-match-beginning, tpu-match-end)
  (tpu-check-match, tpu-goto-breadcrumb, tpu-reset-screen-size)
  (tpu-toggle-overwrite-mode, tpu-include, tpu-get, tpu-what-line)
  (tpu-insert-escape, tpu-insert-formfeed, tpu-end-define-macro-key)
  (tpu-check-search-case, tpu-select, tpu-unselect, tpu-trim-line-ends)
  (tpu-toggle-control-keys): Fix typos in docstrings.
  (tpu-kill-buffer): Doc fix.
  (tpu-make-file-buffer-list, tpu-toggle-regexp, tpu-cut)
  (tpu-append-region, tpu-delete-current-char, tpu-emacs-replace):
  Reflow docstrings.

* eshell/em-smart.el (eshell-review-quick-commands): Doc fix.

* eshell/esh-arg.el (eshell-quote-backslash): Fix typo in docstring.

* play/solitaire.el (solitaire, solitaire-mode-map, solitaire-mode-hook)
  (solitaire-mode, solitaire, solitaire-solve): Fix typos in docstrings.

* progmodes/gdb-ui.el (gdb-source-info): Fix typo in docstring.

* progmodes/python.el (python-comment-line-p, python-blank-line-p)
  (python-skip-out): Doc fixes.
2008-08-26 11:02:51 +00:00
Glenn Morris
aa360da10d Add some compiler declarations, for builds without X. 2008-06-12 03:56:20 +00:00
Chong Yidong
6a9cbb8592 (tool-bar-make-keymap): Additional minor fix. 2008-05-13 18:02:44 +00:00
Chong Yidong
71928058cc (tool-bar-make-keymap): Account for the optional KEY-BINDING-DATA
field in menu-item list.
2008-05-13 17:52:31 +00:00
Stefan Monnier
c8fcd943a9 Choose images dynamically.
(tool-bar-make-keymap, tool-bar-find-image): New function.
(tool-bar-find-image-cache): New var.
(tool-bar-local-item, tool-bar-local-item-from-menu):
Don't select the image yet, do it later in tool-bar-make-keymap.
2008-05-07 18:16:28 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Stefan Monnier
cbee283dd7 Fix up comment convention on the arch-tag lines. 2008-04-10 14:10:46 +00:00
Juanma Barranquero
3ab3140b50 (tool-bar-setup): Doc fix. 2008-02-27 10:17:06 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Miles Bader
9899d01a0c Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 824-838)

   - Update from CVS
   - Merge from emacs--rel--22
   - Remove lisp/erc/erc-nicklist.el
   - Update some .arch-inventory files
   - Fix void function definition error in cus-edit.el
   - Restore lisp/emacs-lisp/cl-loaddefs.el

 * emacs--rel--22  (patch 70-83)

   - Update from CVS
   - Remove lisp/erc/erc-nicklist.el
   - Update some .arch-inventory files
   - Indicate that emacs--devo--0--patch-834 does not need to be applied
   - Merge from gnus--rel--5.10
   - Restore lisp/emacs-lisp/cl-loaddefs.el

 * gnus--rel--5.10  (patch 239-241)

   - Merge from emacs--devo--0
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-28
2007-07-31 05:50:45 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Karoly Lorentey
93afd0f1d4 Merged from emacs@sv.gnu.org
Patches applied:

 * emacs@sv.gnu.org/emacs--devo--0--patch-599
   Merge from erc--main--0

 * emacs@sv.gnu.org/emacs--devo--0--patch-600
   Merge from erc--main--0

 * emacs@sv.gnu.org/emacs--devo--0--patch-601
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-602
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-603
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-604
   Merge from gnus--rel--5.10

 * emacs@sv.gnu.org/emacs--devo--0--patch-605
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-606
   Merge from gnus--rel--5.10

 * emacs@sv.gnu.org/emacs--devo--0--patch-607
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-608
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-609
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-610
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-611
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-612
   Merge from gnus--rel--5.10

 * emacs@sv.gnu.org/emacs--devo--0--patch-613
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-614
   Make byte compiler correctly write circular constants

 * emacs@sv.gnu.org/emacs--devo--0--patch-615
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-616
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-617
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-618
   Update from CVS

 * emacs@sv.gnu.org/gnus--rel--5.10--patch-192
   Merge from emacs--devo--0

 * emacs@sv.gnu.org/gnus--rel--5.10--patch-193
   Update from CVS

 * emacs@sv.gnu.org/gnus--rel--5.10--patch-194
   Merge from emacs--devo--0

 * emacs@sv.gnu.org/gnus--rel--5.10--patch-195
   Update from CVS

 * emacs@sv.gnu.org/gnus--rel--5.10--patch-196
   Update from CVS

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-594
2007-01-29 22:21:19 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Karoly Lorentey
c044516d38 Merged from emacs@sv.gnu.org
Patches applied:

 * emacs@sv.gnu.org/emacs--devo--0--patch-252
   Merge from gnus--rel--5.10

 * emacs@sv.gnu.org/emacs--devo--0--patch-253
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-254
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-255
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-256
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-257
   Merge from gnus--rel--5.10

 * emacs@sv.gnu.org/emacs--devo--0--patch-258
   Clean up lisp/gnus/ChangeLog a bit

 * emacs@sv.gnu.org/emacs--devo--0--patch-259
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-260
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-261
   lisp/replace.el (occur-engine): Bind `inhibit-field-text-motion' to t

 * emacs@sv.gnu.org/emacs--devo--0--patch-262
   Update from CVS

 * emacs@sv.gnu.org/gnus--rel--5.10--patch-96
   Update from CVS

 * emacs@sv.gnu.org/gnus--rel--5.10--patch-97
   Update from CVS

 * emacs@sv.gnu.org/gnus--rel--5.10--patch-98
   Update from CVS

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-554
2006-05-03 11:56:53 +00:00
Richard M. Stallman
bc2fa80de7 (tool-bar-setup): Put Help and Preferences items in the default tool-bar-map. 2006-05-01 20:15:56 +00:00
Karoly Lorentey
6a5af08f8d Fix tool-bar and menu-bar toggles in Show/Hide menu to reflect the state of the current frame.
* lisp/tool-bar.el (toggle-tool-bar-mode-from-frame): New function.

* lisp/menu-bar.el (toggle-menu-bar-mode-from-frame): New function.
  (menu-bar-showhide-menu): Use them to change "Menu-bar" and
  "Tool-bar" toggles to reflect the state of the current frame.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-537
2006-03-26 14:20:01 +00:00
Karoly Lorentey
095fe28140 Fix toolbars on X frames when Emacs is started on a tty. (Reported by Richard Lewis.)
* lisp/faces.el (x-create-frame-with-faces): Remove bogus check for first
  frame.  Call `tool-bar-setup'.

* lisp/frame.el (window-system-default-frame-alist): Enhance doc string.

* lisp/frame.el (frame-notice-user-settings): Don't put 'tool-bar-lines
  in `default-frame-alist' when initial frame is on a tty.

* lisp/frame.el (modify-all-frames-parameters): Simplify using
  `assq-delete-all'.  Remove specified parameters from
  `window-system-default-frame-alist'.

* lisp/fringe.el (set-fringe-mode): Simplify and fix using
  `modify-all-frames-parameters'.
* lisp/menu-bar.el (menu-bar-mode): Ditto.
* lisp/scroll-bar.el (set-scroll-bar-mode): Ditto.
* lisp/tool-bar.el (tool-bar-mode): Ditto.  Remove 'tool-bar-map length
  check before calling `tool-bar-setup'.

* lisp/tool-bar.el (tool-bar-setup): New variable.

* lisp/tool-bar.el (tool-bar-setup): Use it to guard against multiple
  calls.  Add optional frame parameter, and select that frame before
  adding items.

* src/frame.c (syms_of_frame): Enhance doc string of `default-frame-alist'.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-536
2006-03-26 13:57:43 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Jan Djärv
7b5836c7db * menu-bar.el (menu-find-file-existing): New function.
(menu-bar-file-menu): Use menu-find-file-existing for Open.

* tool-bar.el (tool-bar-setup): open changed to menu-find-file-existing.
2005-12-23 11:36:08 +00:00
Nick Roberts
7c06485983 (tool-bar-add-item-from-menu)
(tool-bar-local-item-from-menu): Fix doc strings.
2005-10-28 21:03:35 +00:00
Richard M. Stallman
646cb69e5a (tool-bar-mode): Delete autoload cookie. 2005-10-28 16:22:08 +00:00
Bill Wohler
ffda926c9c Moved all remaining images from lisp/toolbar to etc/images, moved
lisp/toolbar/tool-bar to lisp and "deleted" lisp/toolbar. The low
resolution images were placed in their own directory (low-color).
Replaced underscore (_) in filenames with dash (-) per convention

* make-dist: Create and populate etc/images/low-color.

* admin/FOR-RELEASE (DOCUMENTATION): Removed lisp/toolbar from list
  since it's gone. Also marked mh-e as done.

* lisp/toolbar/attach.*, lisp/toolbar/cancel.*, lisp/toolbar/close.*:
* lisp/toolbar/copy.*, lisp/toolbar/cut.*, lisp/toolbar/diropen.*:
* lisp/toolbar/exit.*, lisp/toolbar/help.*, lisp/toolbar/home.*:
* lisp/toolbar/index.*, lisp/toolbar/info.*, lisp/toolbar/mail.*:
* lisp/toolbar/new.*, lisp/toolbar/open.*, lisp/toolbar/paste.*, *
* lisp/toolbar/preferences.*, lisp/toolbar/print.*, lisp/toolbar/save.*:
* lisp/toolbar/saveas.*, lisp/toolbar/search.*:
* lisp/toolbar/search-replace.*: lisp/toolbar/spell.*:
* lisp/toolbar/undo.*: Moved to etc/images.

* lisp/toolbar/lc-copy.*: Moved to etc/images/low-color/copy.*.
* lisp/toolbar/lc-cut.*: Moved to etc/images/low-color/cut.*.
* lisp/toolbar/lc-help.*: Moved to etc/images/low-color/help.*.
* lisp/toolbar/lc-home.*: Moved to etc/images/low-color/home.*.
* lisp/toolbar/lc-index.*: Moved to etc/images/low-color/index.*.
* lisp/toolbar/lc-new.*: Moved to etc/images/low-color/new.*.
* lisp/toolbar/lc-open.*: Moved to etc/images/low-color/open.*.
* lisp/toolbar/lc-paste.*: Moved to etc/images/low-color/paste.*.
* lisp/toolbar/lc-preferences.*: Moved to etc/images/low-color/preferences.*.
* lisp/toolbar/lc-print.*: Moved to etc/images/low-color/print.*.
* lisp/toolbar/lc-save.*: Moved to etc/images/low-color/save.*.
* lisp/toolbar/lc-saveas.*: Moved to etc/images/low-color/saveas.*.
* lisp/toolbar/lc-search.*: Moved to etc/images/low-color/search.*.
* lisp/toolbar/lc-spell.*: Moved to etc/images/low-color/spell.*.
* lisp/toolbar/lc-undo.*: Moved to etc/images/low-color/undo.*.

To conform with convention, the underscore (_) in the following image
names were replaced with dash (-) or (/) as appropriate.

* lisp/toolbar/back_arrow.*: Moved to etc/images/back-arrow.*.
* lisp/toolbar/fld_open.*: Moved to etc/images/fld-open.*.
* lisp/toolbar/fwd_arrow.*: Moved to etc/images/fwd-arrow.*.
* lisp/toolbar/jump_to.*: Moved to etc/images/jump-to.*.
* lisp/toolbar/left_arrow.*: Moved to etc/images/left-arrow.*.
* lisp/toolbar/right_arrow.*: Moved to etc/images/right-arrow.*.
* lisp/toolbar/up_arrow.*: Moved to etc/images/up-arrow.*.
* lisp/toolbar/lc-back_arrow.*.: Moved to etc/images/low-color/back-arrow.*.
* lisp/toolbar/lc-fwd_arrow.*.: Moved to etc/images/low-color/fwd-arrow.*.
* lisp/toolbar/lc-jump_to.*: Moved to etc/images/low-color/jump-to.*.
* lisp/toolbar/lc-left_arrow.*.: Moved to etc/images/low-color/left-arrow.*.
* lisp/toolbar/lc-right_arrow.*.: Moved to etc/images/low-color/right-arrow.*.
* lisp/toolbar/lc-up_arrow.*: Moved to etc/images/low-color/up-arrow.*.
* lisp/toolbar/mail_compose.*.: Moved to etc/images/mail/compose.*.
* lisp/toolbar/mail_send.*: Moved to etc/images/mail/send.*.

* lisp/info.el (info-tool-bar-map): Replaced underscores in image
names with dashes.

* lisp/makefile.w32-in (WINS): Removed toolbar.

* lisp/menu-bar.el: Replaced toolbar/tool-bar.el with tool-bar.el in
comment.

* lisp/tool-bar.el: Moved to lisp from lisp/toolbar. Now that
lisp/toolbar is empty, it should be deleted when folks run "cvs up
-P".

* etc/images/README: Incorporated the content of lisp/toolbar/README
now that all of the images are here.
2005-10-17 22:21:06 +00:00
Renamed from lisp/toolbar/tool-bar.el (Browse further)