also do full bryce rename when moving between zones

This commit is contained in:
Mike Blumenkrantz 2016-10-14 08:10:17 -04:00
parent b86efbe301
commit dece6a5514
1 changed files with 3 additions and 0 deletions

View File

@ -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