def rename_bookmark(self, bookmark: int, new_name: str) -> None:
        """Rename the current bookmark.

        Args:
            bookmark: The location of the bookmark to rename.
            new_name: The input dialog result that is the new name.
        """
        self._bookmarks[bookmark] = Bookmark(
            new_name, self._bookmarks[bookmark].location
        )
        self._bookmarks_updated()
Rename the current bookmark.

        Args:
            bookmark: The location of the bookmark to rename.
            new_name: The input dialog result that is the new name.
        
frogmouth/widgets/navigation_panes/bookmarks.py