Merge lp:~tiagosh/unity-2d/bugfix-857575 into lp:unity-2d
Proposed by
Tiago Salem Herrmann
Status: | Merged |
---|---|
Approved by: | Gerry Boland |
Approved revision: | 808 |
Merged at revision: | 810 |
Proposed branch: | lp:~tiagosh/unity-2d/bugfix-857575 |
Merge into: | lp:unity-2d |
Diff against target: |
66 lines (+10/-3) 3 files modified
CMakeLists.txt (+3/-2) config.h.in (+1/-0) libunity-2d-private/src/unity2ddeclarativeview.cpp (+6/-1) |
To merge this branch: | bzr merge lp:~tiagosh/unity-2d/bugfix-857575 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gerry Boland | Pending | ||
Review via email: mp+84830@code.launchpad.net |
Description of the change
In a particular scenario unity-2d-places may abort due to a SIGABRT raised by QConf().
If for some reason (probably during a distro upgrade) the schema file isn't properly installed and
unity-2d-places is wrapped, then it simply aborts with the following message:
unity-2d-places: [FATAL] Settings schema 'com.canonical.
This patch adds a simple check if the schema file is present, and if not, assume the default
value. Other components like launcher and panel won't probably have this same issue since
they keep running in memory, and not launched on-the-fly.
To post a comment you must log in.