Merge lp:~nskaggs/update-manager/fix-for-702418 into lp:update-manager
Proposed by
Nicholas Skaggs
Status: | Merged |
---|---|
Merged at revision: | 2278 |
Proposed branch: | lp:~nskaggs/update-manager/fix-for-702418 |
Merge into: | lp:update-manager |
Diff against target: |
60 lines (+10/-34) 1 file modified
UpdateManager/Core/utils.py (+10/-34) |
To merge this branch: | bzr merge lp:~nskaggs/update-manager/fix-for-702418 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Vogt | Pending | ||
Review via email: mp+82946@code.launchpad.net |
This proposal supersedes a proposal from 2011-11-04.
Description of the change
This is a fix for bug 702418. I added a check to prevent the calling the old dbus interface check for gnome-power-manager under any desktop environment that is not gnome. This will instead simply call the FreeDesktop powermanager without attempting the old check.
To post a comment you must log in.
Thanks for your branch!
Testing for gnome in the env is not quite sufficient as the default session will use DESKTOP= Unity" and DESKTOP_ SESSION= ubuntu these days. Actually this makes
"XDG_CURRENT_
me wonder if calling the old interface can be dropped entirely? Could you maybe check
if gnome now supports the freedesktop one?