Power Management... does nothing without gnome-power-manager
Bug #694864 reported by
Cris Dywan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Battery Status |
Incomplete
|
Medium
|
Ivan Zorin |
Bug Description
Currently the 'Power Management...' menu item does nothing if gnome-power-manager is not installed. This is confusing to users and without reading the source it looks broken.
I would like to suggest two ways to solve the issue:
1. Hide the menuitem if gnome-power-manager is unavailable.
2. If you are willing to support this, try to call xfce4-power-manager as well, and otherwise like 1.
To post a comment you must log in.
After reading the source, I found the package checks, so I went for a different fix: set self.package_power to False initially. And also fix an if which decides whether to show the separator.
So the other suggestion involving checks for the executables can be seen as enhancements and this patch would solve the immediate bug at hand.