GNU bug report logs -
#67694
30.0.50; tool-bar
Previous Next
Full log
View this message in rfc822 format
> Could you describe the steps to reproduce this bug in more detail? Does
> it happen only when using the pdf-tools package?
No idea.
>
> Starting from emacs -Q, I’ve installed the pdf-tools package (M-x
> package-install RET pdf-tools RET), but, after visiting a PDF file, I
> don’t see any tool-bar icons to go to the previous and next page in the
> PDF.
I have inserted something like the following in pdf-view.el:
(defvar pdfview-tool-bar-map
(let ((map (make-sparse-keymap)))
(tool-bar-local-item "some-picture-name-1" 'pdf-view-first-page 'pdf-view-first-page map :help "First page")
(tool-bar-local-item "some-picture-name-2" 'pdf-view-next-page 'pdf-view-next-page map :help "Next page")
(tool-bar-local-item "some-picture-name-3" 'pdf-view-previous-page 'pdf-view-previous-page map :help "Previous page")
(tool-bar-local-item "some-picture-name-4" 'pdf-view-last-page 'pdf-view-last-page map :help "Last page")
map)
and, after the block starting with "(setq-local mode-line-position
(setq-local tool-bar-map pdfview-tool-bar-map)
Konrad
This bug report was last modified 1 year and 5 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.