Commit Graph

4 Commits

Author SHA1 Message Date
James Cameron
2ddd64bace power: suppress failure to remove file
It does not matter if the file cannot be removed, so do not report it.
2015-05-14 20:24:32 +10:00
James Cameron
561271bad1 power: set path to file once 2015-05-14 20:24:32 +10:00
Gonzalo Odiard
53a148f88c Restore suspend catch the wrong exception
Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
2014-01-31 12:30:43 -03:00
Gonzalo Odiard
62b60fa1e1 Inhibit suspend while a activity is shared
In some network environments, suspend/reume can make loose
messages and break collaboration. This patch inhibit suspend
when collaboration start. The implementation can be used by activities
or Sugar to inhibit suspend/resume when needed.

More information in http://dev.laptop.org/ticket/10363

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
2014-01-31 11:08:41 -03:00