???Hi Brian, Niall, Matt, Erwann and All,

Sorry for broadcast. 

Here's a bunch of patches for replacing gnome-sys-suspend with new GNOME
shutdown dialog. The old SUNWgnome-sys-suspend will be obselete and
removed. I included relevant module owners here, could you have a look?
Thanks a lot.

- gnome-session patch
  
  * Provide two dialogs GUI, one is for logout and user switch action,
another dialog is for suspend,hibernate,reboot and shutdown.
  * Provide two D-Bus interfaces to allow other applications to show
dialog.

  org.gnome.SessionManager interface:

???Method
???Returns
???Parameters
???Description
???Logout
???Void
???Int
???0 - Show
confirmation
dialog
???1 - Not show
confirmation
dialog, ??????take
logout action
immediately.
???Show logout
dialog and allow
user to logout or
switch to ???another
user if supported.
???Shutdown
???Void
Void
???Show shutdown
dialog and ???allow
user to choose
suspend,???hibernate, shutdown, reboot ???if supported.
                                                             
- gnome-panel patch

  * When logout or shutdown dialog need to be prompted, it called above
D-Bus interface.
  * Before showing menuitem "Shut Down..." in Launch Menu, check user
ability that can be defined by RBAC auth solaris.system.shutdown.
  * In order to support activation, change the way to initialize dbus
proxy of "org.freedesktop.PowerManager"

- metacity patch
  
  * Rework the preview patch for gnomne-sys-suspend, change
"SunPowerSwitch" key response to new D-Bus interface.
  * In particular, if Shift key is pressed as well, we call g-p-m to
suspend directly without any confirmation.

- g-p-m patch

  * Reponse to press power button is calling new D-Bus interface. In
particular, to avoid dead lock between g-p-m and gnome-session, use
dbus_g_proxy_call_no_reply() here. 

Please note that above patches won't be committed to spec-files until
dependency gnome-power-manager is competely putback.

Regards,
-Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20080402/54fcf64d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnome-session-13-logout-shutdown-dialog.diff
Type: text/x-patch
Size: 35859 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20080402/54fcf64d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnome-panel-18-logout-shutdown-dialog.diff
Type: text/x-patch
Size: 5403 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20080402/54fcf64d/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metacity-04-sunpowerswitch-key.diff
Type: text/x-patch
Size: 8507 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20080402/54fcf64d/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnome-power-manager-06-interactive-dialog.diff
Type: text/x-patch
Size: 1677 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20080402/54fcf64d/attachment-0003.bin>

Reply via email to