gui: fix run in terminal option

This commit is contained in:
Nedko Arnaudov 2009-12-07 22:15:26 +02:00
parent 2091927eac
commit b042bbf078
1 changed files with 3 additions and 0 deletions

View File

@ -307,6 +307,9 @@ void ladish_app_supervisor_proxy_destroy(ladish_app_supervisor_proxy_handle prox
bool ladish_app_supervisor_proxy_run_custom(ladish_app_supervisor_proxy_handle proxy, const char * command, const char * name, bool run_in_terminal)
{
dbus_bool_t terminal;
terminal = run_in_terminal;
if (!dbus_call(proxy_ptr->service, proxy_ptr->object, IFACE_APP_SUPERVISOR, "RunCustom", "bss", &terminal, &command, &name, ""))
{
log_error("RunCustom() failed.");