]> git.eshelyaron.com Git - emacs.git/commit
Set label for NSToolbarItem (bug#50159)
authorMasahiro Nakamura <tsuucat@icloud.com>
Sun, 22 Aug 2021 01:13:58 +0000 (10:13 +0900)
committerAlan Third <alan@idiocy.org>
Sun, 22 Aug 2021 19:58:26 +0000 (20:58 +0100)
commit48d49694539beae5270ca49eae2d5419938a906e
tree90b261f51314d84d841be53614fc81cdd1cdc794
parentf405756811741b805c2833aa941d23bfd0f36919
Set label for NSToolbarItem (bug#50159)

* src/nsmenu.m (update_frame_tool_bar): Get label text and pass it to ...
([EmacsToolbar addDisplayItemWithImage:idx:tag:labelText:helpText:enabled:]):
... this that sets label for NSToolbarItem.
* src/nsterm.h
([EmacsToolbar addDisplayItemWithImage:idx:tag:labelText:helpText:enabled:]):
Add labelText argument.
src/nsmenu.m
src/nsterm.h