← Back to team overview

dx-packages team mailing list archive

[Bug 1090538] Re: Allow other apps to query what panel icon is being used

 

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"

** Project changed: indicator-power => upower

** Changed in: upower
       Status: New => Fix Committed

** Changed in: upower
     Assignee: Charles Kerr (charlesk) => (unassigned)

** Package changed: indicator-power (Ubuntu) => upower (Ubuntu)

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-power in Ubuntu.
https://bugs.launchpad.net/bugs/1090538

Title:
  Allow other apps to query what panel icon is being used

Status in Upower:
  Fix Committed
Status in “upower” package in Ubuntu:
  Triaged

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/upower/+bug/1090538/+subscriptions