X-Git-Url: http://git.maemo.org/git/?p=simple-launcher;a=blobdiff_plain;f=launchable-item.cc;h=42bebfc36152e145db1cbd4091e89c7785a576a6;hp=53edc679964f48a8c8d96d75d3f62ecac837da6b;hb=a475603e2c1da4e345a4a6cedab5a10802c36e97;hpb=6f2ec1c466973eb0f2d0db7679526463971f888b diff --git a/launchable-item.cc b/launchable-item.cc index 53edc67..42bebfc 100644 --- a/launchable-item.cc +++ b/launchable-item.cc @@ -21,7 +21,7 @@ bool LaunchableItem::activate(osso_context_t *context) { bool result = false; - if (getService().empty() || !(result = osso_application_top(context, getService().c_str(), NULL) == OSSO_OK)) { + if (getService().empty() || !(result = osso_rpc_run_with_defaults(context, getService().c_str(), "top_application", NULL, DBUS_TYPE_INVALID) == OSSO_OK)) { runApplication(getExec()); return true; } else {