Kill also prestarted apps through osso-app-killer (NB#146719) test-prestarted-apps
authorMario Sanchez Prada <msanchez@igalia.com>
Wed, 18 Nov 2009 13:28:41 +0000 (14:28 +0100)
committerMario Sanchez Prada <msanchez@igalia.com>
Wed, 18 Nov 2009 13:31:44 +0000 (14:31 +0100)
commitccb15f8976debd1568e1b4ac83fe0e9202a432d9
tree0f0e87d5fbe0b22de56f5e64b759f7bdefd91af7
parent4c78ea271d3c5ac1bfcc7855125156a54baf4a39
Kill also prestarted apps through osso-app-killer (NB#146719)

* src/util.cc (set_prestarted_apps_enabled): New function. Allows
enabling/disabling prestarted apps in hildon destkop.

* src/util.h (set_prestarted_apps_enabled): New prototype.

* src/operations.cc (ip_warn_about_reboot_response): Call the new
function set_prestarted_apps_enabled to disable prestarted apps.
(ip_end): Always re-enable (just in case) prestarted apps.
src/operations.cc
src/util.cc
src/util.h