Insertion messages? I'm only talking about g-p-m. It also displays the battery 
level of wireless keyboards, if this info is available.
As for the _(...)-ization, yes, the naming problem boils down to it. There are 
two different functions that are used to assemble the filename. 
gpm_power_get_icon_from_status() uses gpm_power_kind_to_string() to determine 
the prefix for the icon's filename (wth the postfix being the charge level). In 
gpm_power_kind_to_string(), the only string that has no _() is "primary". 
"ups", "mouse", "keyboard", "pda", and "unknown" are all going to be localized. 
I don't know if it is safe to remove _() from this function, maybe the values 
are also used elsewhere and should remain localized (then there should be 
another way to get the non-localized strings).
But as I already said, simply linking the icons to "localized filenames" or 
using an English locale does not fix the crash (although g-p-m reports correct 
filenames on it's stdout/stderr), so I suspect that there are is also another 
problem with wireless keyboards.

-- 
g-p-m crashes when having wireless keyboard attached
https://launchpad.net/bugs/67986

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

Reply via email to