1. 20 Apr, 2010 1 commit
    • Jan Djärv's avatar
      Gtk tool bars can be text, icons with text or just icons. · f904c0f9
      Jan Djärv authored
      * xsettings.c: Qmonospace_font_name, Qtool_bar_style and
      current_tool_bar_style are new.
      (store_config_changed_event): Rename from store_font_changed_event.
      (XSETTINGS_TOOL_BAR_STYLE): New define.
      (SEEN_FONT, SEEN_TB_STYLE): New enum values.
      (struct xsettings): Add font and tb_style, set xft stuff inside #ifdef
      HAVE_XFT.
      (something_changedCB): store_font_changed_event is now
      store_config_changed_event
      (parse_settings): Rename from parse_xft_settings.  Read
      non-xft xsettings outside #ifdef HAVE_XFT.
      (read_settings): Renamed from read_xft_settings.
      (apply_xft_settings): Take current settings as parameter.  Do not
      call read_(xft)_settings.
      (read_and_apply_settings): New function.
      (xft_settings_event): Do non-xft stuff out of HAVE_XFT.  Call
      read_and_apply_settings if there are settings to be read.
      (init_xsettings): Renamed from init_xfd_settings.
      Call read_and_apply_settings unconditionally.
      (xsettings_initialize): Call init_xsettings.
      (Ftool_bar_get_system_style): New function.
      (syms_of_xsettings): Define Qmonospace_font_name and
      Qtool_bar_style.  Initialize current_tool_bar_style to nil.
      defsubr Stool_bar_get_system_style. Fprovide on
      dynamic-setting.
      
      * xsettings.h (Ftool_bar_get_system_style): Declare.
      
      * xdisp.c: Vtool_bar_style, tool_bar_max_label_size,
      Qtext, Qboth, Qboth_horiz are new.
      (syms_of_xdisp): Intern Qtext, Qboth, Qboth_horiz, DEFVAR
      Vtool_bar_style, tool_bar_max_label_size.
      
      * lisp.h: Extern declare Qtext, Qboth, Qboth_horiz.
      
      * keyboard.c: QClabel is new.
      (parse_tool_bar_item): Take out QClabel from tool bar items.
      Try to construct a label if ther is no QClabel.
      (syms_of_keyboard): Intern :label as QClabel.
      
      * dispextern.h (tool_bar_item_idx): TOOL_BAR_ITEM_LABEL is new.
      (Vtool_bar_style, tool_bar_max_label_size, DEFAULT_TOOL_BAR_LABEL_SIZE):
      New.
      
      * Makefile.in (SOME_MACHINE_LISP): font-setting.el renamed to
      dynamic-setting.el.
      
      * gtkutil.c (xg_tool_bar_menu_proxy): Handle label in tool bar item.
      (xg_make_tool_item, xg_show_toolbar_item): New function.
      (update_frame_tool_bar): Take label from TOOL_BAR_ITEM_LABEL.
      Call xg_make_tool_item to make a tool bar item.
      Call xg_show_toolbar_item.  Use wtoolbar instead of x->toolbar_widget.
      
      * xterm.c (x_draw_image_relief): Take Vtool_bar_button_margin
      into account for toolbars.
      
      * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
      
      * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
      
      * loadup.el: Load dynamic-setting.el if feature dynamic-setting
      is present.
      
      * info.el (info-tool-bar-map): Add labels.
      
      * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
      
      * cus-edit.el (custom-commands): Add labels for tool bar.
      (custom-buffer-create-internal, Custom-mode): Adjust for
      labels in custom-commands.
      
      * dynamic-setting.el: Renamed from font-setting.el.
      f904c0f9
  2. 13 Jan, 2010 1 commit
  3. 06 Nov, 2009 1 commit
    • Dan Nicolaescu's avatar
      * textmodes/tex-mode.el (tex-alt-dvi-print-command) · 1e8780b1
      Dan Nicolaescu authored
      (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
      (tex-start-options, slitex-run-command, latex-run-command)
      (tex-run-command, tex-directory):
      * textmodes/ispell.el (ispell-html-skip-alists)
      (ispell-tex-skip-alists, ispell-tex-skip-alists):
      * textmodes/fill.el (adaptive-fill-first-line-regexp):
      (adaptive-fill-regexp):
      * textmodes/dns-mode.el (auto-mode-alist):
      * progmodes/python.el (interpreter-mode-alist):
      * progmodes/etags.el (tags-compression-info-list):
      * progmodes/etags.el (tags-file-name):
      * net/browse-url.el (browse-url-galeon-program)
      (browse-url-firefox-program):
      * mail/sendmail.el (mail-signature-file)
      (mail-citation-prefix-regexp):
      * international/mule-conf.el (eight-bit):
      * international/latexenc.el (latex-inputenc-coding-alist):
      * international/fontset.el (x-pixel-size-width-font-regexp):
      * emacs-lisp/warnings.el (warning-type-format):
      * emacs-lisp/trace.el (trace-buffer):
      * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
      (emacs-lisp-mode-map):
      * calendar/holidays.el (holiday-solar-holidays)
      (holiday-bahai-holidays, holiday-islamic-holidays)
      (holiday-christian-holidays, holiday-hebrew-holidays)
      (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
      (hebrew-holidays-1, holiday-oriental-holidays)
      (holiday-general-holidays):
      * x-dnd.el (x-dnd-known-types):
      * tool-bar.el (tool-bar):
      * startup.el (site-run-file):
      * shell.el (shell-dumb-shell-regexp):
      * rfn-eshadow.el (file-name-shadow-tty-properties)
      (file-name-shadow-properties):
      * paths.el (remote-shell-program, news-directory):
      * mouse.el ([C-down-mouse-3]):
      * menu-bar.el (menu-bar-tools-menu):
      * jka-cmpr-hook.el (jka-compr-load-suffixes)
      (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
      (jka-compr-compression-info-list):
      * isearch.el (search-whitespace-regexp):
      * image-file.el (image-file-name-extensions):
      * find-dired.el (find-ls-option):
      * files.el (directory-listing-before-filename-regexp)
      (directory-free-space-args, insert-directory-program)
      (list-directory-brief-switches, magic-fallback-mode-alist)
      (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
      (automount-dir-prefix):
      * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
      (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
      (face-font-registry-alternatives, face-font-registry-alternatives)
      (face-font-family-alternatives):
      * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
      (facemenu-foreground-menu, facemenu-face-menu):
      * epa-hook.el (epa-file-name-regexp):
      * dnd.el (dnd-protocol-alist):
      * textmodes/rst.el (auto-mode-alist):
      * button.el (default-button):  Purecopy strings.
      1e8780b1
  4. 10 Jan, 2009 1 commit
  5. 05 Jan, 2009 1 commit
  6. 27 Nov, 2008 1 commit
    • Chong Yidong's avatar
      (tool-bar-find-image-cache): Var deleted. · b8067901
      Chong Yidong authored
      (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.
      b8067901
  7. 12 Oct, 2008 1 commit
  8. 11 Oct, 2008 1 commit
    • Chong Yidong's avatar
      (tool-bar-local-item) · afb465eb
      Chong Yidong authored
      (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.
      afb465eb
  9. 09 Oct, 2008 1 commit
  10. 26 Aug, 2008 1 commit
    • Juanma Barranquero's avatar
      Fix typos (sync from the trunk). · d36b11e2
      Juanma Barranquero authored
      * 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.
      d36b11e2
  11. 12 Jun, 2008 1 commit
  12. 13 May, 2008 2 commits
  13. 07 May, 2008 1 commit
    • Stefan Monnier's avatar
      Choose images dynamically. · c8fcd943
      Stefan Monnier authored
      (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.
      c8fcd943
  14. 06 May, 2008 1 commit
  15. 10 Apr, 2008 1 commit
  16. 27 Feb, 2008 1 commit
  17. 07 Jan, 2008 1 commit
  18. 25 Jul, 2007 1 commit
  19. 21 Jan, 2007 1 commit
  20. 01 May, 2006 1 commit
  21. 26 Mar, 2006 2 commits
    • Karoly Lorentey's avatar
      Fix tool-bar and menu-bar toggles in Show/Hide menu to reflect the state of the current frame. · 6a5af08f
      Karoly Lorentey authored
      * 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
      6a5af08f
    • Karoly Lorentey's avatar
      Fix toolbars on X frames when Emacs is started on a tty. (Reported by Richard Lewis.) · 095fe281
      Karoly Lorentey authored
      * 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
      095fe281
  22. 06 Feb, 2006 1 commit
  23. 23 Dec, 2005 1 commit
  24. 28 Oct, 2005 2 commits
  25. 17 Oct, 2005 1 commit
    • Bill Wohler's avatar
      Moved all remaining images from lisp/toolbar to etc/images, moved · ffda926c
      Bill Wohler authored
      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.
      ffda926c
  26. 01 Aug, 2005 1 commit
  27. 04 Jul, 2005 1 commit
  28. 17 May, 2005 1 commit
  29. 02 Nov, 2004 1 commit
  30. 09 Jun, 2004 1 commit
  31. 08 Jun, 2004 2 commits
  32. 03 May, 2004 1 commit
  33. 16 Apr, 2004 1 commit
  34. 08 Sep, 2003 1 commit
  35. 01 Sep, 2003 1 commit
  36. 16 Jul, 2002 1 commit