~vcs-imports/nautilus/master-git

Viewing all changes in revision 17405.

  • Committer: Carlos Soriano
  • Date: 2015-02-02 10:02:02 UTC
  • Revision ID: git-v1:70b9ca01ad60cdeef8bc09e57d3bb60c5a1aaad0
nautilus-view: Don't update if not active or destroyed

For context menus we update menus on a timeout. For the cases of
the toolbar afaik that's not needed so we update directly.
The schedulers for the context menu has a protection against updating
if the view is destroyed or not active.
Apply that protection to the update of the toolbar so we don't crash
if we call it while destroying.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: