Allow other apps to query what panel icon is being used

Bug #1090538 reported by Michael Terry on 2012-12-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Committed
upower (Ubuntu)

Bug Description

Per the SoftwareUpdates spec [1], when on battery power, the Software Updater should show the same battery icon as the power indicator does. But Software Updater doesn't have access to that information today.

Currently, this is calculated in the indicator directly via indicator_power_device_get_gicon(). But it would be convenient to allow other apps to get this same information.

Maybe move that function to some shared library. Or split the indicator into separate service and menu components like most of the other indicators.


Michael Terry (mterry) on 2012-12-17
Changed in indicator-power (Ubuntu):
assignee: nobody → Indicator Applet Developers (indicator-applet-developers)
Changed in indicator-power:
assignee: nobody → Indicator Applet Developers (indicator-applet-developers)
Sebastien Bacher (seb128) wrote :

Hey Lars, I'm assigning that feature request to you, since it seems you will be doing work on indicator-power, feel free to reassign to Charles or somebody else if that makes more sense though

Changed in indicator-power (Ubuntu):
assignee: Indicator Applet Developers (indicator-applet-developers) → nobody
importance: Undecided → Wishlist
status: New → Triaged
Changed in indicator-power:
assignee: Indicator Applet Developers (indicator-applet-developers) → Lars Uebernickel (larsu)
Lars Karlitski (larsu) on 2013-09-10
Changed in indicator-power:
assignee: Lars Uebernickel (larsu) → Charles Kerr (charlesk)
Sebastien Bacher (seb128) wrote :

I guess that's going to be resolved once the new upower lands:
"lib: Add support for the IconName property"

affects: indicator-power → upower
Changed in upower:
assignee: Charles Kerr (charlesk) → nobody
status: New → Fix Committed
affects: indicator-power (Ubuntu) → upower (Ubuntu)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints