gnome-session r4504 - in branches/new-gnome-session: . gnome-session



Author: lucasr
Date: 2007-11-26 17:07:58 +0000 (Mon, 26 Nov 2007)
New Revision: 4504
ViewCVS link: http://svn.gnome.org/viewcvs/gnome-session?rev=4504&view=rev

Added:
   branches/new-gnome-session/gnome-session/gdm.c
   branches/new-gnome-session/gnome-session/gdm.h
   branches/new-gnome-session/gnome-session/logout-dialog.c
   branches/new-gnome-session/gnome-session/logout-dialog.h
   branches/new-gnome-session/gnome-session/power-manager.c
   branches/new-gnome-session/gnome-session/power-manager.h
Modified:
   branches/new-gnome-session/ChangeLog
   branches/new-gnome-session/gnome-session/Makefile.am
   branches/new-gnome-session/gnome-session/client-xsmp.c
   branches/new-gnome-session/gnome-session/dbus.c
   branches/new-gnome-session/gnome-session/org.gnome.SessionManagement.xml
   branches/new-gnome-session/gnome-session/session.c
   branches/new-gnome-session/gnome-session/session.h
Log:
2007-11-26  Lucas Rocha  <lucasr gnome org>

	New D-Bus APIs for logging out (org.gnome.SessionManager.Logout) 
	and shutting down the computer (org.gnome.SessionManager.Shutdown).

	* gnome-session/Makefile.am: added gdm.[ch], power-manager.[ch] 
	and logout-dialog.[ch] to the build.
	* gnome-session/logout-dialog.[ch]: new logout dialog implementation 
	for logout and shutdown operations. 
	* gnome-session/power-manager.[ch]: new functions for powering down, 
	restarting, and suspending the computer through GNOME Power Manager.
	* gnome-session/gdm.[ch]: new functions for communication with GDM.
	* gnome-session/client-xsmp.c: (save_yourself_request_callback): update
	with new gnome_session_initiate_shutdown() API.
	* gnome-session/dbus.c (gsm_dbus_server_logout,
	gsm_dbus_server_shutdown), gnome-session/org.gnome.SessionManagement.xml: 
	new D-Bus APIs for Logout and Shutdown.
	* gnome-session/session.[ch]: 
	(logout_dialog_response, gsm_session_initiate_shutdown): new parameter 
	for determining which logout mode to use (normal logout or shutdown). Use 
	new logout dialog when a confirmation is requested. 
	(session_cancel_shutdown): reset the logout dialog response in case the
	shutdown process is cancelled.
	(initiate_shutdown): moved the code for initiating the session shutdown
	to a separate function.
	(session_shutdown): activate shutdown functions in case this is
	requested in the logout dialog.  





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]