Hi all, This path is not worthy of being integrated into gnome224 branch. Because the underlying calls to check if the users can shutdown/reboot the system in libpolkit is the same. For more information, please check http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/policykit/libpolkit/common/libpolkit-rbac.c#157
Regards, Jedy On Fri, 2008-11-28 at 10:47 +0800, Jedy Wang wrote: > Hi all, > > The attached patch fixes a bug in gnome-session-09-logout-dialog.diff. > When checking if the user can shutdown the system, > gsm_power_manager_can_shutdown should be called. But in the patch, > gsm_power_manager_can_reboot was called. The same problem happened too > when checking if the user can reboot the system. So the attached patch > switch the calls to these 2 functions. > > Regards, > > Jedy
