@param items: The new layout at any level."""
# We roll back the circle to the top level
+ #: The trail we walked - traverse in reverse to get back to the upper layout.
# The center can't change, so we can use the one from the previous version of the circle.
while self.circle.action is not None:
# store current items as item list
item = (icon, str(items_folder))
+ # Also store the folder we found in the clicktrail
# make sure we save no broken configs!
items_new = [(i.icon, i.action) for i in self.circle]
- # Now we copy the circle we wanted to save back into the current circle.
+ # Now we walk back on the clicktrail
+ for label in clicktrail:
# Finally we prepare the config data
config = "# v0.1 keep this line!\n"