~deja-dup-hackers/deja-dup/32

Viewing all changes in revision 1537.

  • Committer: Michael Terry
  • Author(s): Giovanni Campagna
  • Date: 2014-05-04 21:58:26 UTC
  • Revision ID: michael.terry@canonical.com-20140504215826-4r1dk3zk2yvuyi3v
monitor: fix notifications when connecting to the network or pluggin a disk

We can't use the reactive_check variable directly, because that is
set and reset synchronously around the prepare_run() calls, but
the code that checks it runs after a yield (so after an async call
and at least one mainloop iteration). Instead, use a local temporary
that vala will know to store and retrieve.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: