1. 14 Aug, 2019 1 commit
  2. 01 Aug, 2019 1 commit
    • Benjamin Berg's avatar
      manager: Add initilization synchronization point DBus API · 9b692a32
      Benjamin Berg authored
      We need to make sure that any XDG application started by gnome-session
      is started after basic initialization is finished (i.e. environment
      variables are set). Note that we end up with only two synchronization
      points between starting XDG applications and systemd units.
      
      The side effect of this is that XDG applications will begin starting up
      at the same time as g-s-d with the planned systemd unit design.
      9b692a32
  3. 14 Aug, 2018 1 commit
    • Carlo Caione's avatar
      Add methods and backend to support RebootToFirmwareSetup · 5e004284
      Carlo Caione authored
      Add two new methods (SetRebootToFirmwareSetup and
      CanRebootToFirmwareSetup) to the D-Bus interface to support rebooting
      into setup mode. The idea is to present the user with a new option when
      rebooting allowing to reboot into the firmware setup interface.
      5e004284
  4. 09 Apr, 2016 1 commit
    • Cosimo Cecchi's avatar
      Export GL/GLES renderer string over DBus · 122fa573
      Cosimo Cecchi authored
      This is useful to avoid repeating the same code e.g. in the Details
      settings panel.
      
      Note that it's possible that both the display manager and the user
      session run gnome-session, and that they both share the same X server.
      In that case, we need to store the renderer string as an X property on
      the root window (like the helper already does for other properties).
      
      https://bugzilla.gnome.org/show_bug.cgi?id=686806
      122fa573
  5. 12 Dec, 2014 1 commit
  6. 28 Aug, 2013 1 commit
  7. 25 Jan, 2013 3 commits
  8. 12 Nov, 2012 1 commit
  9. 07 Nov, 2012 1 commit
  10. 22 Oct, 2012 1 commit
  11. 07 Jul, 2012 1 commit
  12. 06 Jul, 2012 1 commit
    • Hans de Goede's avatar
      Add an automount-inhibit flag · 70725a0c
      Hans de Goede authored
      When connecting to virtual machines with usb-device redirection, such as
      Spice enabled vms, automount may get in the way. Specifically if auto-usbredir
      is enabled in the vm-viewer, then the usbredir code and the automount code
      race for who gets to the device first.
      
      If the automount code wins the race this is a problem, since usbredir causes
      a device-disconnect (iow the usb mass storage driver sees an unplug), so in
      the end usbredir always wins, and we end up with a non clean potentially
      corrupt filesystem. Also see:
      https://bugzilla.redhat.com/show_bug.cgi?id=812972
      
      There for the need exists to be able to inhibit gnome-shell's automounting,
      since all other inhibits run through gnome-session, it seems consistent to
      store the inhibit flag for automounting in gnome-session too. This has the
      added advantage that gnome-session already has all the necessary logic to
      automatically uninhibit if a client goes away.
      
      Another reason to do this through gnome-session is that all other inhibit
      flags are accessible through GtkApplication which relies on gnome-session,
      so storing this in gnome-session allows to add it to GtkApplication too.
      
      Note that gnome-session does not do anything with the flag, other then
      tracking it. The reason to still modify gnome-session is to reserve and
      document the flag.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      
      https://bugzilla.gnome.org/show_bug.cgi?id=678595
      70725a0c
  13. 27 Aug, 2011 1 commit
  14. 26 Jan, 2009 1 commit
  15. 15 Jan, 2009 2 commits
  16. 11 Nov, 2008 1 commit
    • Ray Strode's avatar
      gnome-session/org.gnome.SessionManager.xml (CanShutdown) Add new dbus api · 141da238
      Ray Strode authored
      2008-11-11  Ray Strode  <rstrode@redhat.com>
      
      	* gnome-session/org.gnome.SessionManager.xml (CanShutdown)
      	* gnome-session/gsm-manager.[ch] (gsm_manager_can_shutdown):
      	Add new dbus api to say whether shutdown dialog is available.
      	(bug 536915)
      	* gnome-session/gsm-consolekit.c
      	(gsm_consolekit_can_do_action): new function to query
      	policykit to determine whether the current session is
      	authorized to shutdown/reboot/etc.
      
      svn path=/trunk/; revision=5149
      141da238
  17. 08 Aug, 2008 1 commit
    • William Jon McCann's avatar
      Melt the gnome-session-save tool and make it actually work. Fix the api · 7b3abd5f
      William Jon McCann authored
      2008-08-08  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/gsm-manager.c (gsm_manager_error_get_type),
      	(gsm_manager_logout):
      	* gnome-session/gsm-manager.h:
      	* gnome-session/org.gnome.SessionManager.xml:
      	* tools/gnome-session-save.c (display_error), (get_sm_proxy),
      	(set_session_name), (logout_session), (main):
      	Melt the gnome-session-save tool and make it actually work.
      	Fix the api for Logout to take a uint.
      
      
      svn path=/trunk/; revision=4928
      7b3abd5f
  18. 04 Aug, 2008 1 commit
    • William Jon McCann's avatar
      Add a method to ask if a certain AutostartCondition is being handled. One · c94ae725
      William Jon McCann authored
      2008-08-04  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/gsm-app.c (gsm_app_has_autostart_condition):
      	* gnome-session/gsm-app.h:
      	* gnome-session/gsm-autostart-app.c (gsm_autostart_app_dispose),
      	(is_disabled), (gsm_autostart_app_has_autostart_condition),
      	(gsm_autostart_app_class_init):
      	* gnome-session/gsm-manager.c (_start_app), (do_phase_startup),
      	(find_app_for_app_id), (find_app_for_startup_id), (append_app),
      	(append_required_apps), (gsm_manager_init), (gsm_manager_finalize),
      	(_app_has_autostart_condition),
      	(gsm_manager_is_autostart_condition_handled):
      	* gnome-session/gsm-manager.h:
      	* gnome-session/org.gnome.SessionManager.xml:
      	Add a method to ask if a certain AutostartCondition is
      	being handled.  One use of this is for the settings daemon
      	to know if there are any a11y tools that will be started
      	for a certain gconf key.
      
      svn path=/trunk/; revision=4908
      c94ae725
  19. 30 Jul, 2008 1 commit
    • William Jon McCann's avatar
      Add GetClients and GetInhibitors. · ed7791ba
      William Jon McCann authored
      2008-07-30  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/gsm-manager.c (listify_store_ids),
      	(gsm_manager_get_clients), (gsm_manager_get_inhibitors):
      	* gnome-session/gsm-manager.h:
      	* gnome-session/org.gnome.SessionManager.xml:
      	Add GetClients and GetInhibitors.
      
      
      svn path=/branches/dbus_based/; revision=4895
      ed7791ba
  20. 29 Jul, 2008 2 commits
    • William Jon McCann's avatar
      Rename the introspection docs. Remove the dbus-glib stuff from the · 8e68a920
      William Jon McCann authored
      2008-07-29  William Jon McCann  <jmccann@redhat.com>
      
      	* doc/dbus/Makefile.am:
      	* gnome-session/Makefile.am:
      	* gnome-session/gsm-client.xml:
      	* gnome-session/gsm-dbus-client.c (gsm_dbus_client_class_init):
      	* gnome-session/gsm-dbus-client.xml:
      	* gnome-session/gsm-inhibitor.xml:
      	* gnome-session/gsm-manager.xml:
      	Rename the introspection docs.  Remove the
      	dbus-glib stuff from the DBusClient.
      
      
      svn path=/branches/dbus_based/; revision=4877
      8e68a920
    • William Jon McCann's avatar
      Don't return the "new" startup ID from the register client method. We can · 2a72b804
      William Jon McCann authored
      2008-07-29  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/gsm-manager.c (gsm_manager_register_client):
      	* gnome-session/gsm-manager.xml:
      	* gnome-session/test-client-dbus.c (register_client):
      	Don't return the "new" startup ID from the register
      	client method.  We can make this available via
      	the Client interface if necessary.
      
      
      svn path=/branches/dbus_based/; revision=4873
      2a72b804
  21. 28 Jul, 2008 2 commits
    • William Jon McCann's avatar
      Export an IsInhibited method to the bus. · 1337945e
      William Jon McCann authored
      2008-07-28  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/gsm-manager.c (inhibitor_has_flag),
      	(gsm_manager_is_logout_inhibited), (gsm_manager_start),
      	(gsm_manager_setenv), (gsm_manager_initialization_error),
      	(gsm_manager_is_switch_user_inhibited),
      	(gsm_manager_is_suspend_inhibited), (gsm_manager_shutdown),
      	(gsm_manager_logout), (gsm_manager_register_client),
      	(gsm_manager_unregister_client), (gsm_manager_inhibit),
      	(gsm_manager_uninhibit), (gsm_manager_is_inhibited):
      	* gnome-session/gsm-manager.h:
      	* gnome-session/gsm-manager.xml:
      	Export an IsInhibited method to the bus.
      
      
      svn path=/branches/dbus_based/; revision=4867
      1337945e
    • William Jon McCann's avatar
      Add signals for client and inhibitor add/remove. · 9cc7a35e
      William Jon McCann authored
      2008-07-28  William Jon McCann  <jmccann@redhat.com>
      
      	* doc/dbus/Makefile.am:
      	* gnome-session/gsm-manager.c (on_store_client_added),
      	(on_store_client_removed), (gsm_manager_set_client_store),
      	(gsm_manager_class_init), (on_store_inhibitor_added),
      	(on_store_inhibitor_removed), (gsm_manager_init):
      	* gnome-session/gsm-manager.h:
      	* gnome-session/gsm-manager.xml:
      	Add signals for client and inhibitor add/remove.
      
      
      svn path=/branches/dbus_based/; revision=4866
      9cc7a35e
  22. 27 Jul, 2008 3 commits
    • William Jon McCann's avatar
      Add docs for logout mode. · daf1e5da
      William Jon McCann authored
      2008-07-27  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/gsm-manager.h:
      	* gnome-session/gsm-manager.xml:
      	Add docs for logout mode.
      
      
      svn path=/branches/dbus_based/; revision=4857
      daf1e5da
    • William Jon McCann's avatar
      Require fully qualified interface names in links. · b2d8989d
      William Jon McCann authored
      2008-07-27  William Jon McCann  <jmccann@redhat.com>
      
      	* doc/dbus/Makefile.am:
      	* doc/dbus/spec-to-docbook.xsl:
      	* gnome-session/gsm-manager.xml:
      	Require fully qualified interface
      	names in links.
      
      
      svn path=/branches/dbus_based/; revision=4856
      b2d8989d
    • William Jon McCann's avatar
      Add more docs. · 91c4ce59
      William Jon McCann authored
      2008-07-27  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/gsm-manager.xml:
      	Add more docs.
      
      
      svn path=/branches/dbus_based/; revision=4855
      91c4ce59
  23. 24 Jul, 2008 1 commit
    • William Jon McCann's avatar
      Drop unused signal. · 30a03a5c
      William Jon McCann authored
      2008-07-24  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/gsm-manager.c (gsm_manager_class_init):
      	Drop unused signal.
      
      	* gnome-session/gsm-manager.xml:
      	Start adding D-Bus API docs.
      
      
      svn path=/branches/dbus_based/; revision=4835
      30a03a5c
  24. 16 Jul, 2008 1 commit
    • William Jon McCann's avatar
      Rename client-id to startup-id to distinguish from Client's ID. Start · 46d5a808
      William Jon McCann authored
      2008-07-16  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/Makefile.am:
      	* gnome-session/gsm-app.c (gsm_app_set_startup_id),
      	(gsm_app_set_property), (gsm_app_get_property), (gsm_app_dispose),
      	(gsm_app_class_init), (gsm_app_get_startup_id):
      	* gnome-session/gsm-app.h:
      	* gnome-session/gsm-autostart-app.c (load_desktop_file),
      	(autostart_app_start_spawn), (autostart_app_start_activate):
      	* gnome-session/gsm-client.c (gsm_client_finalize),
      	(gsm_client_set_startup_id), (gsm_client_set_property),
      	(gsm_client_get_property), (default_stop), (gsm_client_class_init),
      	(gsm_client_get_startup_id), (gsm_client_stop),
      	(gdm_client_end_session_response):
      	* gnome-session/gsm-client.h:
      	* gnome-session/gsm-client.xml:
      	* gnome-session/gsm-dbus-client.c (gsm_dbus_client_error_quark),
      	(gsm_dbus_client_error_get_type), (gsm_dbus_client_class_init),
      	(gsm_dbus_client_end_session_response):
      	* gnome-session/gsm-dbus-client.h:
      	* gnome-session/gsm-dbus-client.xml:
      	* gnome-session/gsm-inhibitor.c (gsm_inhibitor_set_client_id),
      	(gsm_inhibitor_get_client_id), (gsm_inhibitor_set_property),
      	(gsm_inhibitor_get_property), (gsm_inhibitor_finalize),
      	(gsm_inhibitor_class_init), (gsm_inhibitor_new_for_client):
      	* gnome-session/gsm-inhibitor.h:
      	* gnome-session/gsm-manager.c (_find_by_startup_id),
      	(app_condition_changed), (app_registered), (phase_timeout),
      	(start_phase), (inhibitor_has_bus_name), (_app_has_startup_id),
      	(find_app_for_startup_id), (register_client_for_name),
      	(_client_has_startup_id), (on_xsmp_client_register_request),
      	(_client_query_end_session), (query_end_session_complete),
      	(inhibitor_has_client_id), (generate_cookie),
      	(_generate_unique_cookie), (on_client_end_session_response),
      	(on_query_end_session_timeout), (query_end_session),
      	(request_logout), (user_logout), (gsm_manager_logout),
      	(gsm_manager_register_client), (gsm_manager_unregister_client):
      	* gnome-session/gsm-manager.xml:
      	* gnome-session/gsm-marshal.list:
      	* gnome-session/gsm-xsmp-client.c (set_description):
      	* gnome-session/test-client-dbus.c (register_client):
      	* gnome-session/util.c (gsm_util_generate_startup_id):
      	* gnome-session/util.h:
      	Rename client-id to startup-id to distinguish from
      	Client's ID.  Start adding a new shutdown path that
      	allows for more compatibility with xsmp.
      
      
      svn path=/branches/dbus_based/; revision=4805
      46d5a808
  25. 24 Jun, 2008 1 commit
    • William Jon McCann's avatar
      Implement inhibit registration. Doesn't actually use it for anything yet. · b2c50ae4
      William Jon McCann authored
      2008-06-23  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/Makefile.am:
      	* gnome-session/gsm-manager.c (gsm_inhibitor_free),
      	(inhibitor_has_bus_name), (inhibit_changed_check),
      	(remove_inhibitors_for_connection), (bus_name_owner_changed),
      	(gsm_manager_init), (gsm_manager_finalize), (generate_cookie),
      	(_generate_unique_cookie), (gsm_manager_inhibit),
      	(gsm_manager_uninhibit):
      	* gnome-session/gsm-manager.h:
      	* gnome-session/gsm-manager.xml:
      	* gnome-session/test-client-method.c (register_client):
      	* gnome-session/test-inhibit.c (session_manager_connect),
      	(do_inhibit), (session_manager_disconnect), (do_uninhibit), (main):
      	Implement inhibit registration.  Doesn't actually use it for
      	anything yet.
      
      
      svn path=/branches/dbus_based/; revision=4763
      b2c50ae4
  26. 18 Jun, 2008 2 commits
    • William Jon McCann's avatar
      Drop set_name. · d772addb
      William Jon McCann authored
      2008-06-18  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/gsm-manager.c (bus_name_owner_changed),
      	(on_xsmp_client_register_request), (gsm_manager_finalize):
      	* gnome-session/gsm-manager.xml:
      	Drop set_name.
      
      
      svn path=/branches/dbus_based/; revision=4761
      d772addb
    • William Jon McCann's avatar
      Add dbus method client support. Add test client. Fix up restart handling. · ad2bb9d1
      William Jon McCann authored
      2008-06-18  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/Makefile.am:
      	* gnome-session/gsm-app.c (gsm_app_class_init),
      	(gsm_app_get_autorestart), (gsm_app_restart):
      	* gnome-session/gsm-app.h:
      	* gnome-session/gsm-autostart-app.c (gsm_autostart_app_dispose),
      	(gsm_autostart_app_stop), (gsm_autostart_app_start),
      	(gsm_autostart_app_restart), (gsm_autostart_app_get_autorestart),
      	(gsm_autostart_app_class_init):
      	* gnome-session/gsm-client.c (gsm_client_class_init):
      	* gnome-session/gsm-client.h:
      	* gnome-session/gsm-dbus-client.c (gsm_dbus_client_set_bus_name),
      	(gsm_dbus_client_get_bus_name), (gsm_dbus_client_set_property),
      	(gsm_dbus_client_get_property), (gsm_dbus_client_class_init):
      	* gnome-session/gsm-dbus-client.h:
      	* gnome-session/gsm-manager.c (gsm_manager_error_get_type),
      	(find_app_for_app_id), (disconnect_client),
      	(_disconnect_dbus_client), (remove_clients_for_connection),
      	(on_client_disconnected), (on_xsmp_client_register_request),
      	(gsm_manager_register_client), (gsm_manager_unregister_client):
      	* gnome-session/gsm-manager.h:
      	* gnome-session/gsm-manager.xml:
      	* gnome-session/gsm-method-client.c (gsm_method_client_class_init):
      	* gnome-session/gsm-resumed-app.c (app_exited),
      	(gsm_resumed_app_start), (gsm_resumed_app_restart),
      	(gsm_resumed_app_dispose), (gsm_resumed_app_class_init):
      	* gnome-session/gsm-service-client.c
      	(gsm_service_client_class_init):
      	* gnome-session/gsm-xsmp-client.c (gsm_xsmp_client_class_init),
      	(register_client_callback):
      	* gnome-session/test-client-method.c (session_manager_connect),
      	(register_client), (session_manager_disconnect),
      	(unregister_client), (main):
      	Add dbus method client support.  Add test client.  Fix up
      	restart handling.
      
      
      svn path=/branches/dbus_based/; revision=4760
      ad2bb9d1
  27. 17 Jun, 2008 1 commit
    • William Jon McCann's avatar
      Stub out some dbus based client classes. Make the GsmClient class more · 44842bd7
      William Jon McCann authored
      2008-06-17  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/Makefile.am:
      	* gnome-session/gsm-app.c (gsm_app_class_init), (gsm_app_get_id):
      	* gnome-session/gsm-app.h:
      	* gnome-session/gsm-autostart-app.c
      	(gsm_autostart_app_set_desktop_file), (gsm_autostart_app_dispose),
      	(is_disabled), (app_exited), (gsm_autostart_app_get_id),
      	(gsm_autostart_app_constructor), (gsm_autostart_app_class_init):
      	* gnome-session/gsm-client-store.c (gsm_client_store_get_locked):
      	* gnome-session/gsm-client-store.h:
      	* gnome-session/gsm-client.c (gsm_client_finalize),
      	(gsm_client_set_app_id), (gsm_client_set_property),
      	(gsm_client_get_property), (gsm_client_class_init),
      	(gsm_client_get_app_id), (gsm_client_notify_session_over),
      	(gsm_client_restart), (gsm_client_stop), (gsm_client_disconnected):
      	* gnome-session/gsm-client.h:
      	* gnome-session/gsm-dbus-client.c (gsm_dbus_client_constructor),
      	(gsm_dbus_client_init), (gsm_dbus_client_set_property),
      	(gsm_dbus_client_get_property), (gsm_dbus_client_finalize),
      	(gsm_dbus_client_class_init):
      	* gnome-session/gsm-dbus-client.h:
      	* gnome-session/gsm-manager.c (gsm_manager_error_get_type),
      	(app_condition_changed), (phase_timeout), (_start_app),
      	(find_app_for_client_id), (find_app_for_app_id),
      	(on_xsmp_client_register_request), (on_store_client_added),
      	(gsm_manager_class_init), (_shutdown_client), (get_caller_info),
      	(gsm_manager_register_client), (gsm_manager_unregister_client),
      	(gsm_manager_inhibit), (gsm_manager_uninhibit):
      	* gnome-session/gsm-manager.h:
      	* gnome-session/gsm-manager.xml:
      	* gnome-session/gsm-method-client.c
      	(gsm_method_client_constructor), (gsm_method_client_init),
      	(gsm_method_client_set_property), (gsm_method_client_get_property),
      	(gsm_method_client_finalize), (gsm_method_client_stop),
      	(gsm_method_client_restart), (gsm_method_client_class_init),
      	(gsm_method_client_new):
      	* gnome-session/gsm-method-client.h:
      	* gnome-session/gsm-resumed-app.c (gsm_resumed_app_get_id),
      	(gsm_resumed_app_class_init):
      	* gnome-session/gsm-service-client.c
      	(gsm_service_client_constructor), (gsm_service_client_init),
      	(gsm_service_client_set_property),
      	(gsm_service_client_get_property), (gsm_service_client_finalize),
      	(gsm_service_client_stop), (gsm_service_client_restart),
      	(gsm_service_client_class_init), (gsm_service_client_new):
      	* gnome-session/gsm-service-client.h:
      	* gnome-session/gsm-xsmp-client.c (xsmp_restart), (xsmp_stop),
      	(_boolean_handled_accumulator), (gsm_xsmp_client_class_init),
      	(register_client_callback), (save_yourself_request_callback),
      	(save_yourself_phase2_request_callback),
      	(interact_request_callback), (interact_done_callback),
      	(save_yourself_done_callback), (gsm_xsmp_client_register_request),
      	(gsm_xsmp_client_save_state):
      	* gnome-session/gsm-xsmp-client.h:
      	Stub out some dbus based client classes.  Make the GsmClient
      	class more generic.
      
      
      svn path=/branches/dbus_based/; revision=4758
      44842bd7
  28. 11 Jun, 2008 1 commit
    • William Jon McCann's avatar
      First crack at new new gnome-session based around D-Bus. XSMP still · 75df2148
      William Jon McCann authored
      2008-06-11  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/Makefile.am:
      	* gnome-session/app-autostart.c:
      	* gnome-session/app-autostart.h:
      	* gnome-session/app-resumed.c:
      	* gnome-session/app-resumed.h:
      	* gnome-session/app.c:
      	* gnome-session/app.h:
      	* gnome-session/client-xsmp.c:
      	* gnome-session/client-xsmp.h:
      	* gnome-session/client.c:
      	* gnome-session/client.h:
      	* gnome-session/dbus.c:
      	* gnome-session/dbus.h:
      	* gnome-session/gconf.c (gsm_gconf_check):
      	* gnome-session/gsm-app.c (set_property), (get_property),
      	(dispose), (get_basename), (gsm_app_get_phase),
      	(gsm_app_is_disabled), (gsm_app_provides), (app_exited), (launch):
      	* gnome-session/gsm-app.h:
      	* gnome-session/gsm-autostart-app.c (gsm_autostart_app_init),
      	(gsm_autostart_app_class_init), (gsm_autostart_app_dispose),
      	(gsm_autostart_app_new), (unless_exists_condition_cb),
      	(if_exists_condition_cb), (gconf_condition_cb), (is_disabled):
      	* gnome-session/gsm-autostart-app.h:
      	* gnome-session/gsm-client-store.c (gsm_client_store_error_quark),
      	(gsm_client_store_clear), (remove_client),
      	(gsm_client_store_remove), (gsm_client_store_foreach),
      	(gsm_client_store_find), (gsm_client_store_foreach_remove),
      	(gsm_client_store_add), (gsm_client_store_class_init),
      	(client_unref), (gsm_client_store_init),
      	(gsm_client_store_finalize), (gsm_client_store_new):
      	* gnome-session/gsm-client-store.h:
      	* gnome-session/gsm-client.c (get_next_client_serial),
      	(gsm_client_constructor), (gsm_client_init), (gsm_client_finalize),
      	(gsm_client_class_init), (gsm_client_get_id),
      	(gsm_client_register_client), (gsm_client_request_logout):
      	* gnome-session/gsm-client.h:
      	* gnome-session/gsm-manager.c (gsm_manager_error_quark),
      	(app_condition_changed), (end_phase), (app_registered),
      	(phase_timeout), (start_phase), (gsm_manager_start),
      	(remove_client_for_connection), (remove_clients_for_connection),
      	(bus_name_owner_changed), (register_manager),
      	(gsm_manager_set_failsafe), (gsm_manager_set_client_store),
      	(gsm_manager_set_property), (gsm_manager_get_property),
      	(append_app), (append_default_apps), (append_autostart_apps),
      	(append_legacy_session_apps), (append_saved_session_apps),
      	(append_required_apps), (load_apps), (gsm_manager_constructor),
      	(gsm_manager_class_init), (gsm_manager_init),
      	(gsm_manager_finalize), (gsm_manager_new), (gsm_manager_setenv),
      	(gsm_manager_initialization_error), (manager_shutdown),
      	(initiate_shutdown), (logout_dialog_response),
      	(gsm_manager_initiate_shutdown), (gsm_manager_shutdown),
      	(gsm_manager_logout), (manager_set_name), (gsm_manager_set_name):
      	* gnome-session/gsm-manager.h:
      	* gnome-session/gsm-marshal.list:
      	* gnome-session/gsm-resumed-app.c (gsm_resumed_app_init),
      	(gsm_resumed_app_class_init),
      	(gsm_resumed_app_new_from_legacy_session),
      	(gsm_resumed_app_new_from_session), (get_basename), (launch):
      	* gnome-session/gsm-resumed-app.h:
      	* gnome-session/gsm-xsmp-client.c (gsm_xsmp_client_init),
      	(gsm_xsmp_client_class_init), (gsm_xsmp_client_new),
      	(xsmp_finalize), (client_iochannel_watch),
      	(client_protocol_timeout), (register_client_callback),
      	(do_save_yourself), (save_yourself_request_callback),
      	(xsmp_save_yourself), (save_yourself_phase2_request_callback),
      	(xsmp_save_yourself_phase2), (interact_request_callback),
      	(xsmp_interact), (interact_done_callback),
      	(xsmp_shutdown_cancelled), (xsmp_die),
      	(save_yourself_done_callback), (close_connection_callback),
      	(debug_print_property), (find_property), (delete_property),
      	(set_properties_callback), (delete_properties_callback),
      	(get_properties_callback), (xsmp_get_client_id), (xsmp_get_pid),
      	(xsmp_get_desktop_file), (prop_to_command),
      	(xsmp_get_restart_command), (xsmp_get_discard_command),
      	(xsmp_get_autorestart), (set_description),
      	(gsm_xsmp_client_connect):
      	* gnome-session/gsm-xsmp-client.h:
      	* gnome-session/gsm-xsmp-server.c (accept_ice_connection),
      	(gsm_xsmp_server_start), (gsm_xsmp_server_set_client_store),
      	(gsm_xsmp_server_set_property), (gsm_xsmp_server_get_property),
      	(accept_xsmp_connection), (ice_error_handler),
      	(ice_io_error_handler), (sms_error_handler), (auth_entry_new),
      	(update_iceauthority), (setup_listener),
      	(gsm_xsmp_server_constructor), (gsm_xsmp_server_class_init),
      	(gsm_xsmp_server_init), (gsm_xsmp_server_finalize),
      	(gsm_xsmp_server_new):
      	* gnome-session/gsm-xsmp-server.h:
      	* gnome-session/gsm.h:
      	* gnome-session/logout-dialog.c (gsm_logout_dialog_timeout),
      	(gsm_get_logout_dialog):
      	* gnome-session/logout-dialog.h:
      	* gnome-session/main.c (gsm_dbus_init), (gsm_dbus_check), (main):
      	* gnome-session/org.gnome.SessionManagement.xml:
      	* gnome-session/session.c:
      	* gnome-session/session.h:
      	* gnome-session/util.c (gsm_util_init_error),
      	(gsm_util_generate_client_id):
      	* gnome-session/util.h:
      	* gnome-session/xsmp.c:
      	* gnome-session/xsmp.h:
      	First crack at new new gnome-session based around D-Bus.
      	XSMP still provided but more as a legacy feature.  Not quite
      	operational yet.    See bug #535829 for more info.
      
      
      svn path=/branches/dbus_based/; revision=4728
      75df2148
  29. 25 May, 2008 1 commit
  30. 24 May, 2008 1 commit
    • Lucas Rocha's avatar
      Emit "SessionOver" D-Bus signal before ending the session. · 07ec540f
      Lucas Rocha authored
      2008-05-24  Lucas Rocha  <lucasr@gnome.org>
      
          	Emit "SessionOver" D-Bus signal before ending the session.
      
          	* gnome-session/dbus.[ch]
          	(gsm_dbus_server_class_init): add "session-over" signal to
          	GsmDBusServer class.
          	(gsm_dbus_session_over): new method for emitting the new signal.
          	* gnome-session/org.gnome.SessionManagement.xml: added "SessionOver"
          	signal.
          	* gnome-session/session.c (session_shutdown): added
          	gsm_dbus_session_over() call.
      
      svn path=/trunk/; revision=4699
      07ec540f
  31. 16 May, 2008 1 commit
    • Lucas Rocha's avatar
      Port gnome-session-save tool to new code base. · 66962db0
      Lucas Rocha authored
      2008-05-17  Lucas Rocha  <lucasr@gnome.org>
      
      	Port gnome-session-save tool to new code base.
      
      	* tools/gnome-session-save.c: tool source code.
      	* configure.in, Makefile.am, tools/Makefile.am: add tools to build.
      	* gnome-session/org.gnome.SessionManagement.xml,
      	gnome-session/dbus.c (gsm_dbus_server_set_name): new SetName D-Bus
      	method which should be used to set the name of current session.
      	* gnome-session/session.[ch] (gsm_session_set_name): new GsmSession
      	method for setting session name.
      
      svn path=/trunk/; revision=4692
      66962db0
  32. 24 Mar, 2008 1 commit