discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=10ae53b9948ca191915fe9de0dcdee4a10f61bee

commit 10ae53b9948ca191915fe9de0dcdee4a10f61bee
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Feb 22 11:45:46 2018 -0500

    re-set sandbox gadget cmdline on startup
    
    ensure that this is updated in case the .desktop changes
---
 src/bin/e_gadget_runner.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_gadget_runner.c b/src/bin/e_gadget_runner.c
index 723056bd5..7599f4f92 100644
--- a/src/bin/e_gadget_runner.c
+++ b/src/bin/e_gadget_runner.c
@@ -994,9 +994,12 @@ sandbox_create(Evas_Object *parent, const char *type, int 
*id, E_Gadget_Site_Ori
    if (!ci)
      {
         ci = _conf_item_get(id);
-        ci->cmd = eina_stringshare_add(ed->exec);
         ci->exit_mode = EXIT_MODE_RESTART;
      }
+   if (ci->id > 0)
+     if (!eina_streq(ci->cmd, ed->exec))
+       e_config_save_queue();
+   eina_stringshare_replace(&ci->cmd, ed->exec);
    ci->sandbox = 1;
    return gadget_create(parent, ci, id, orient);
 }

-- 


Reply via email to