macOS: Add an option to control the max length of the window title displayed in the global menubar

Fixes #2132
This commit is contained in:
Kovid Goyal
2022-02-07 21:57:36 +05:30
parent ac16880eec
commit e9ea7b13b6
7 changed files with 42 additions and 5 deletions
+3
View File
@@ -1029,6 +1029,9 @@ class Parser:
def macos_hide_from_tasks(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['macos_hide_from_tasks'] = to_bool(val)
def macos_menubar_title_max_length(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['macos_menubar_title_max_length'] = int(val)
def macos_option_as_alt(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['macos_option_as_alt'] = macos_option_as_alt(val)