Matt: > Much debated quick fix to add a shutdown option to Panel Launch Menu for > non GDM sessions.
The patch looks good. However, in our discussion we agreed that the long term solution should involve the following: - Enhance gnome-sys-suspend and sys-suspend to use RBAC, perhaps moving away (deprecating) the current /etc configuration mechanism. - Enhance so that we can call gnome-sys-suspend or sys-suspend so it also supports reboot - Enahcnce so that we can call gnome-sys-suspend or sys-suspend so we can find out if the user has the ability to shutdown/suspend/reboot so we know when to display the options in the gnome-panel. This would make sys-suspend work the same as GDM, and make it work with RBAC which is something we should do. I'd think as a part of this project, we'd need to file a bug (perhaps P1 or P2) with the intention of fixing this sometime in the future (I'd imagine by SDX3 would be a good goal). Has such a bug capturing the above work been created? If so, what is the bug number? I'd think that we'd want to reference this bug number in the patch comments for your patch. I'm also having a discussion with Darren Moffat to find out what the best approach for making GDM work with RBAC should be, or whether we should move to using the above gnome-sys-suspend mechanism and not use GDM at all for these features. Brian > It was agreed that this solution is sufficient for for the short term > SXDE2. > > The more longer term solution would be to possibly implement a RBAC > based solution. > > This patch is being applied to both 2.16 and Trunk branches of svn. > > Attached : Two files : > > - gnome-panel.spec.diff : Diff for gnome-panel.spec (trunk) > - gnome-panel-16-gnome-sys-suspend.diff : New patch for trunk. > > > The changes for 2.16 branch are pretty much identical, except patch > number is different (18). > >
