discomfitor pushed a commit to branch master.

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

commit dece6a5514dfe677a8587ae1aeb92ad352d7aba3
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Oct 14 08:10:17 2016 -0400

    also do full bryce rename when moving between zones
---
 src/bin/e_bryce.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bin/e_bryce.c b/src/bin/e_bryce.c
index a435623..fe73234 100644
--- a/src/bin/e_bryce.c
+++ b/src/bin/e_bryce.c
@@ -436,6 +436,9 @@ _bryce_rename(Bryce *b, int num)
    snprintf(buf2, sizeof(buf2), "__bryce%s_%d", name, num);
    e_gadget_site_rename(buf, buf2);
    free(name);
+   if (b->version < 2) return;
+   snprintf(buf, sizeof(buf), "%s_%u", name, num);
+   eina_stringshare_replace(&b->name, buf);
 }
 
 static void

-- 


Reply via email to