Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Preferred way to show toolbar? #125
What is currently the preferred way to show a toolbar, an how has this changed?
When I first started writing extensions I was recommended to use the following code:
I think the bug ID refers to an internal issue tracker that I don't have access to.
Some examples, including the current API docs show
The plugin I work on now relies on get_last_state like so, but maybe calling restore has the same effect:
What approach is considered the preferred? The desired behavior is to have the toolbar show after plugin install (so the user knows it exists) and then keep whatever visibility state the user has chosen.