What always blocked me to do this in unity (as I never found the time to fix things in gnome upstream), is the missing support for a "Reboot" method call in gnome session dbus api that would generate a org.gnome.SessionManager.EndSessionDialog.Open signal with an ID for such kinds of dialogs... :/
As currently it just return the same ID that we have for shutdown... This thing would make has harder (for example) to select the default action for easier key-activation.
What always blocked me to do this in unity (as I never found the time to fix things in gnome upstream), is the missing support for a "Reboot" method call in gnome session dbus api that would generate a org.gnome. SessionManager. EndSessionDialo g.Open signal with an ID for such kinds of dialogs... :/
As currently it just return the same ID that we have for shutdown... This thing would make has harder (for example) to select the default action for easier key-activation.