~unity-2d-team/unity-2d/trunk

Viewing all changes in revision 1027.

  • Committer: Tarmac
  • Author(s): Albert Astals
  • Date: 2012-04-02 09:19:37 UTC
  • mfrom: (1026.1.1 unity-2d_trunk)
  • Revision ID: tarmac-20120402091937-tt51ntjbxi28w59x
Use a internal cache for the spread shown value

Otherwise when the service becomes available it may happen that we do
the shownChanged(true) because it's shown and the shownChanged(true) because of
the direct connection between signals and thus the shell ends up with
two shownChanged(true) and forces the visibiity of the launcher twice, meaning
that if we are using hide-mode 1 the launcher will be stuck shown forever
. Fixes: https://bugs.launchpad.net/bugs/940590. Approved by Pawel Stolowski.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: