Skip to content

Commit

Permalink
Mark menubar.add_filetab_command as deprecated (#1399)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-kirkbride authored Aug 5, 2023
1 parent 9ff4be0 commit 2f70548
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions porcupine/menubar.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ def get_filetab() -> tabs.FileTab:
return tab


# FIXME(#1398): this function is deprecated
def add_filetab_command(path: str, func: Callable[[tabs.FileTab], object], **kwargs: Any) -> None:
"""
This is a convenience function that does several things:
Expand Down

0 comments on commit 2f70548

Please sign in to comment.