[PATCH] fix session actions on Fedora's gdm 2.26
|||Ubuntu Netbook Remix Launcher||
The following session actions do not work with Fedora 11's new GDM 2.26.1:
The attached patch replaces them with appropriate gnome-power-cmd.sh and gnome-session-save calls. For demonstrative purpose, the patch intentionally does not follow the convention of separating command name and arguments (and reusing constants for both).
A second attached patch fixes the missing icons when using a non-Human theme. The shutdown button is an ideal replacement, but currently I am using the same icon for sleep (since there is no suspend/sleep stock icon).