These icon names are coming from upower for a discharging battery:

  battery-full-symbolic gpm-battery-100 battery-full

Gtk looks for the first icon name in the current theme. If it doesn't
find it, it proceeds to the next icon in the list, etc. Since ubuntu-
mono doesn't have battery-full-symbolic, it advanced to gpm-battery-100,
which it does have.  If none of the icons in the list are found in the
current theme, gtk proceeds to look for them in the parent icon theme.

The linked commit changes gtk to treat the -symbolic suffix a little
differently, because it really isn't about specificity, but a visual
property of the icon. So it looks for those in the parent theme *first*.
Parent theme for ubuntu-mono seems to be the default gnome set, which
contains a colorful rendition of battery-full-symbolic.

The real fix for this is to agree upon a naming scheme for symbolic
icons. I suggest for ubuntu-mono to simply drop the old names and adapt
the -symbolic ones.

In addition, indicator-power needs to look for the -symbolic icons
first. I assume that it can even drop all the other names, as noone else
is using them afaik.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1001229

Title:
  wrong icon for the power indicator after last 12.04 update

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-power/+bug/1001229/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to