Comment 9 for bug 274889

Revision history for this message
Krzysztof Kosinski (tweenk) wrote :

To fix this, we can use any good name for the icons and put the fallbacks in /data/icons directory of the source. I think we can recycle GPM icons for this, just under a different name.

Get the GPM icons from your current installation (/usr/share/gnome-power-manager/icons) and any good restart icon, e.g. view-refresh from the Gnome theme and place them in data/icons in the source tree under appropriate names in the actions context. I would opt for KDE-compatible names (system-suspend, system-suspend-hibernate, system-restart). After this is done, add the new icons to Makefile.am. This will install the icons in the hicolor theme when gnome-session is installed. The last remaining thing is to change the names in 80_new_upstream_session_dialog.patch to point to the new icons.

Icon themes can then add symlinks to old gnome-session-* names.