~blue-shell/blue-shell/muon-firefox-apps

Viewing all changes in revision 2074.

  • Committer: Aleix Pol
  • Date: 2013-08-02 10:58:21 UTC
  • Revision ID: git-v1:82ae90803dc10b8ee3d10b5638146504929f6f85
Revise ResourcesModel initialization

Refactor fetching semantics in the AbstractResourcesBackend

We used to have a reloadStarted and reloadFinished signals for keeping track
of the state of the backend. This changes makes it so we have a boolean
property called fetching that will be responsible of providing this
information.
This is better because it gives us further information about whether the
model is available for consumption. This is especially interesting for
writing unit tests and such tooling.

REVIEW: 111468

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: