Comment 19 for bug 399492

Revision history for this message
Steve Dodier-Lazaro (sidi) wrote : Re: [Bug 399492] Re: Feature request : Possible improvements for notifications

Oh ok, I misunderstood you, sorry. Indeed, G-p-m could use the gpm icons for
this since it's likely that the notification-* icons can't be used, and we
can push ours locally. Richard, is it possible to write a simple function
returning the correct icon with, as parameters :
 * guint percent_left
 * gboolean plugged

And possibly another parameter if you make a distinction between different
types of batteries for each icon ? This would considerably simplify the
maintenance of the ubuntu-side patch till someone makes the effort of
getting the icons in freedesktop.org.

@Martin, Scott
I'm not much of a fan of the % left information, as it is indeed redundant
with the time left information and can be transferred to the icon in most
cases. Isn't it possible in GTK+ to specify an alternative text to use if an
icon is missing ? Is it possible, from g-p-m, to know whether the user uses
a11y technologies, and whether or not they allow rendering of images ? I
think such an infrastructure should exist.