Allow other apps to query what panel icon is being used

Bug #1090538 reported by Michael Terry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Upower
Fix Committed
Wishlist
Unassigned
upower (Ubuntu)
Triaged
Wishlist
Unassigned

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.

[1] https://wiki.ubuntu.com/SoftwareUpdates#Presenting_installable_updates

Michael Terry (mterry)
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)
Revision history for this message
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)
Changed in indicator-power:
assignee: Lars Uebernickel (larsu) → Charles Kerr (charlesk)
Revision history for this message
Sebastien Bacher (seb128) wrote :

I guess that's going to be resolved once the new upower lands:

http://cgit.freedesktop.org/upower/commit/?id=d2484d4ec143348628f7129f21ad1fce23050b22
"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  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.