1. 12 Dec, 2014 1 commit
  2. 23 Jan, 2014 1 commit
  3. 02 Jul, 2011 1 commit
  4. 02 Dec, 2010 1 commit
  5. 10 Aug, 2009 1 commit
  6. 16 Aug, 2008 1 commit
    • Kjartan Maraas's avatar
      Fix some warnings from sparse and other tools. Closes bug #521413 · 27270896
      Kjartan Maraas authored
      2008-08-16  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* capplet/gsm-app-dialog.c:
      	* egg/eggdesktopfile.h:
      	* egg/eggsmclient-libgnomeui.c: (egg_sm_client_module_info_get):
      	* egg/eggsmclient-xsmp.c:
      	* gnome-session/gsm-autostart-app.c:
      	* gnome-session/gsm-client.c:
      	* gnome-session/gsm-client.h:
      	* gnome-session/gsm-dbus-client.c:
      	* gnome-session/gsm-inhibit-dialog.c: (add_inhibitor):
      	* gnome-session/gsm-inhibit-dialog.h:
      	* gnome-session/gsm-inhibitor.c:
      	* gnome-session/gsm-inhibitor.h:
      	* gnome-session/gsm-manager.c:
      	* gnome-session/gsm-store.c:
      	* gnome-session/gsm-util.c:
      	* gnome-session/gsm-xsmp-client.c:
      	* gnome-session/gsm-xsmp-server.c:
      	* gnome-session/test-inhibit.c:
      	* tools/gnome-session-save.c:
      	Fix some warnings from sparse and other tools. Closes
      	bug #521413
      
      svn path=/trunk/; revision=4964
      27270896
  7. 27 Jul, 2008 1 commit
    • William Jon McCann's avatar
      Add ability to get a window snapshot of application. · b3b8e6fc
      William Jon McCann authored
      2008-07-26  William Jon McCann  <jmccann@redhat.com>
      
      	* configure.in:
      	* gnome-session/Makefile.am:
      	* gnome-session/gsm-inhibit-dialog.c (scale_pixbuf), (get_cmap),
      	(pixbuf_get_from_pixmap), (get_pixmap_for_window),
      	(get_pixbuf_for_window), (add_inhibitor), (setup_dialog),
      	(gsm_inhibit_dialog_constructor):
      	* gnome-session/test-inhibit.c (do_inhibit_for_window),
      	(on_widget_show), (main):
      	Add ability to get a window snapshot of application.
      
      
      svn path=/branches/dbus_based/; revision=4850
      b3b8e6fc
  8. 26 Jun, 2008 1 commit
    • William Jon McCann's avatar
      Change inhibit flags to be opt in for each scenario. · 290f0331
      William Jon McCann authored
      2008-06-26  William Jon McCann  <jmccann@redhat.com>
      
      	* gnome-session/gsm-inhibitor.h:
      	* gnome-session/gsm-manager.c (manager_logout),
      	(inhibitor_has_flag), (gsm_manager_is_switch_user_inhibited),
      	(gsm_manager_is_suspend_inhibited),
      	(gsm_manager_is_logout_inhibited), (gsm_manager_inhibit):
      	* gnome-session/test-inhibit.c (do_inhibit):
      	Change inhibit flags to be opt in for each scenario.
      
      
      svn path=/branches/dbus_based/; revision=4785
      290f0331
  9. 24 Jun, 2008 3 commits
    • William Jon McCann's avatar
      Search the correct dirs when looking up app ids. · db823be6
      William Jon McCann authored
      2008-06-24  William Jon McCann  <jmccann@redhat.com>
      
      	* egg/eggdesktopfile.c (egg_desktop_file_new_from_dirs):
      	* egg/eggdesktopfile.h:
      	* gnome-session/gsm-logout-inhibit-dialog.c (find_inhibitor),
      	(add_inhibitor):
      	* gnome-session/test-inhibit.c (do_inhibit):
      	Search the correct dirs when looking up app ids.
      
      
      svn path=/branches/dbus_based/; revision=4771
      db823be6
    • William Jon McCann's avatar
      Add an inhibitor class and store class to make it easier to update the · 629d98bb
      William Jon McCann authored
      2008-06-24  William Jon McCann  <jmccann@redhat.com>
      
      	* configure.in:
      	* gnome-session/Makefile.am:
      	* gnome-session/gsm-client-store.h:
      	* gnome-session/gsm-inhibitor-store.c
      	(gsm_inhibitor_store_error_quark), (gsm_inhibitor_store_size),
      	(gsm_inhibitor_store_clear), (remove_inhibitor),
      	(gsm_inhibitor_store_remove), (gsm_inhibitor_store_foreach),
      	(gsm_inhibitor_store_find), (gsm_inhibitor_store_lookup),
      	(gsm_inhibitor_store_foreach_remove), (gsm_inhibitor_store_add),
      	(gsm_inhibitor_store_set_property),
      	(gsm_inhibitor_store_get_property),
      	(gsm_inhibitor_store_class_init), (inhibitor_unref),
      	(gsm_inhibitor_store_init), (gsm_inhibitor_store_finalize),
      	(gsm_inhibitor_store_new):
      	* gnome-session/gsm-inhibitor-store.h:
      	* gnome-session/gsm-inhibitor.c (gsm_inhibitor_constructor),
      	(gsm_inhibitor_init), (gsm_inhibitor_set_bus_name),
      	(gsm_inhibitor_set_app_id), (gsm_inhibitor_set_reason),
      	(gsm_inhibitor_set_cookie), (gsm_inhibitor_set_flags),
      	(gsm_inhibitor_set_toplevel_xid), (gsm_inhibitor_get_bus_name),
      	(gsm_inhibitor_get_app_id), (gsm_inhibitor_get_reason),
      	(gsm_inhibitor_get_flags), (gsm_inhibitor_get_toplevel_xid),
      	(gsm_inhibitor_get_cookie), (gsm_inhibitor_set_property),
      	(gsm_inhibitor_get_property), (gsm_inhibitor_finalize),
      	(gsm_inhibitor_class_init), (gsm_inhibitor_new):
      	* gnome-session/gsm-inhibitor.h:
      	* gnome-session/gsm-logout-dialog.c (gsm_get_dialog):
      	* gnome-session/gsm-logout-dialog.h:
      	* gnome-session/gsm-logout-inhibit-dialog.c
      	(gsm_logout_inhibit_dialog_set_action),
      	(gsm_logout_inhibit_dialog_set_property),
      	(gsm_logout_inhibit_dialog_get_property), (on_response),
      	(setup_dialog), (gsm_logout_inhibit_dialog_constructor),
      	(gsm_logout_inhibit_dialog_dispose),
      	(gsm_logout_inhibit_dialog_class_init),
      	(gsm_logout_inhibit_dialog_init),
      	(gsm_logout_inhibit_dialog_finalize),
      	(gsm_logout_inhibit_dialog_new):
      	* gnome-session/gsm-logout-inhibit-dialog.glade:
      	* gnome-session/gsm-logout-inhibit-dialog.h:
      	* gnome-session/gsm-manager.c (inhibitor_has_bus_name),
      	(remove_inhibitors_for_connection), (bus_name_owner_changed),
      	(gsm_manager_init), (gsm_manager_finalize),
      	(gsm_manager_is_logout_inhibited), (do_action),
      	(logout_inhibit_dialog_response), (request_logout),
      	(logout_dialog_response), (initiate_logout),
      	(_generate_unique_cookie), (gsm_manager_inhibit),
      	(gsm_manager_uninhibit):
      	* gnome-session/gsm-manager.h:
      	* gnome-session/test-inhibit.c (do_inhibit):
      	Add an inhibitor class and store class to make it
      	easier to update the model for the inhibit dialog.
      	Add a stub for an inhibit dialog.
      
      
      svn path=/branches/dbus_based/; revision=4767
      629d98bb
    • 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
  10. 18 Jun, 2008 1 commit
    • 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