I use kde-3.5 applications in Gnome (I prefer the Gnome desktop, but konqueror-3.5 is still the best Linux file manager). As a result, I have kdelibs-3.5 installed, and recently updated from kdelibs-3.5.10-r3 to kdelibs-3.5.10-r5 kdelibs-3.5.10-r5 installs /etc/env.d/45kdepaths-3.5 which sets XDG_DATA_DIRS="/usr/kde/3.5/share" As a result, when I log into Gnome, I have XDG_DATA_DIRS="/usr/local/share:/usr/kde/3.5/share:/usr/share:/usr/share/gdm" In other words, /usr/kde/3.5/share (kde 3.5 icons) gets searched before /usr/share (Gnome icons). When /usr/kde/3.5/share is before /usr/share in the XDG_DATA_DIRS path, gnome-power-manager-2.26.1 cannot find its icons. Instead of one of gpm-battery-*-charging.png icons (appropriate for the charge level), it loads gtk-missing-image.png as the tray icon, independent of what the battery level is. Therefore, when I logged into Gnome today, I didn't see the usual icon in the system tray showing that my battery level was low. Therefore, after I unplugged my laptop, my battery ran down. Very unpleasant. I suggest returning XDG_DATA_DIRS to the way it was in kdelibs-3.5.10-r3.
sounds similar to bug #267018 or bug #264647. In any case we are not going back as the things that were done in bug #264647 are the corrects things to do for all DE in gentoo. We just need to figure out why kde or gtk+ doesn't take it as nicely as it should. *** This bug has been marked as a duplicate of bug 267018 ***