1. 30 Jul, 2008 2 commits
    • William Jon McCann's avatar
      Drop the properties for now until we can figure out why they are causing · e54deb25
      William Jon McCann authored
      2008-07-30  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/org.gnome.SessionManager.Client.xml:
      	* gnome-session/org.gnome.SessionManager.Inhibitor.xml:
      	Drop the properties for now until we can figure out
      	why they are causing the dbus-glib bindings to crash.
      
      
      svn path=/branches/dbus_based/; revision=4896
      e54deb25
    • William Jon McCann's avatar
      Add GetUnixProcessId to Client interface. · 014fb8e2
      William Jon McCann authored
      2008-07-29  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/gsm-client.c (gsm_client_get_unix_process_id):
      	* gnome-session/gsm-client.h:
      	* gnome-session/gsm-dbus-client.c (get_caller_info),
      	(gsm_dbus_client_set_bus_name), (dbus_client_get_unix_process_id),
      	(gsm_dbus_client_class_init):
      	* gnome-session/gsm-xsmp-client.c (_parse_value_as_uint),
      	(xsmp_get_unix_process_id), (gsm_xsmp_client_class_init):
      	* gnome-session/org.gnome.SessionManager.Client.xml:
      	Add GetUnixProcessId to Client interface.
      
      
      svn path=/branches/dbus_based/; revision=4891
      014fb8e2
  2. 29 Jul, 2008 3 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
      Make status uint. Add some more exported methods to Client. · 6871489b
      William Jon McCann authored
      2008-07-29  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/gsm-client.c (gsm_client_set_status),
      	(gsm_client_set_property), (gsm_client_get_property),
      	(gsm_client_class_init), (gsm_client_peek_status),
      	(gsm_client_get_status):
      	* gnome-session/gsm-client.h:
      	* gnome-session/gsm-client.xml:
      	* gnome-session/gsm-inhibitor.xml:
      	Make status uint.  Add some more exported methods to Client.
      
      
      svn path=/branches/dbus_based/; revision=4875
      6871489b
    • William Jon McCann's avatar
      Add client introspection info. Fix the inhibitor methods. · 85d38c3d
      William Jon McCann authored
      2008-07-29  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/gsm-client.c (gsm_client_peek_id),
      	(gsm_client_peek_app_id), (gsm_client_peek_startup_id),
      	(gsm_client_peek_restart_style_hint), (gsm_client_get_startup_id),
      	(gsm_client_get_app_id), (gsm_client_get_restart_style_hint),
      	(gsm_client_get_app_name):
      	* gnome-session/gsm-client.h:
      	* gnome-session/gsm-client.xml:
      	* gnome-session/gsm-dbus-client.c (dbus_client_stop),
      	(dbus_client_query_end_session), (dbus_client_end_session):
      	* gnome-session/gsm-inhibit-dialog.c (add_inhibitor):
      	* gnome-session/gsm-inhibitor.c (gsm_inhibitor_peek_bus_name),
      	(gsm_inhibitor_get_app_id), (gsm_inhibitor_get_client_id),
      	(gsm_inhibitor_get_reason), (gsm_inhibitor_get_flags),
      	(gsm_inhibitor_get_toplevel_xid), (gsm_inhibitor_peek_id),
      	(gsm_inhibitor_peek_app_id), (gsm_inhibitor_peek_client_id),
      	(gsm_inhibitor_peek_reason), (gsm_inhibitor_peek_flags),
      	(gsm_inhibitor_peek_toplevel_xid), (gsm_inhibitor_peek_cookie):
      	* gnome-session/gsm-inhibitor.h:
      	* gnome-session/gsm-manager.c (_debug_client), (_debug_inhibitor),
      	(_find_by_cookie), (_find_by_startup_id), (_client_end_session),
      	(_client_query_end_session), (inhibitor_has_flag),
      	(inhibitor_is_jit), (on_query_end_session_timeout),
      	(disconnect_client), (inhibitor_has_bus_name),
      	(_client_has_startup_id), (inhibitor_has_client_id),
      	(on_client_end_session_response), (gsm_manager_register_client),
      	(gsm_manager_inhibit), (gsm_manager_uninhibit):
      	* gnome-session/gsm-xsmp-client.c (set_description):
      	* gnome-session/gsm-xsmp-server.c (accept_ice_connection):
      	Add client introspection info.  Fix the inhibitor methods.
      
      
      svn path=/branches/dbus_based/; revision=4874
      85d38c3d
  3. 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
  4. 15 Jul, 2008 2 commits
    • William Jon McCann's avatar
      Add QueryEndSession and EndSession methods and signals. · eea44ea8
      William Jon McCann authored
      2008-07-15  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/gsm-client.c (gsm_client_query_end_session),
      	(gsm_client_end_session):
      	* gnome-session/gsm-client.h:
      	* gnome-session/gsm-client.xml:
      	* gnome-session/gsm-dbus-client.c (dbus_client_query_end_session),
      	(dbus_client_end_session), (gsm_dbus_client_class_init):
      	* gnome-session/gsm-manager.c (_shutdown_client):
      	* gnome-session/gsm-xsmp-client.c (xsmp_stop),
      	(xsmp_query_end_session), (xsmp_end_session),
      	(gsm_xsmp_client_class_init):
      	Add QueryEndSession and EndSession methods and signals.
      
      
      svn path=/branches/dbus_based/; revision=4804
      eea44ea8
    • William Jon McCann's avatar
      Register each client object with the bus. · fe49acb8
      William Jon McCann authored
      2008-07-15  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/Makefile.am:
      	* gnome-session/gsm-client.c (register_client),
      	(gsm_client_constructor), (gsm_client_class_init):
      	* gnome-session/gsm-client.xml:
      	Register each client object with the bus.
      
      
      svn path=/branches/dbus_based/; revision=4799
      fe49acb8