"""Save the current wheel layout to the config file."""
+ # First we create a temporary copy of the current circle
+ items_tmp = [(i.icon, i.action) for i in self.circle]
+ # Now we roll back the circle to the top level
+ while self.circle is not None:
+ # And turn the circle into items.
+ items = [(i.icon, i.action) for i in self.circle]
+ # Now we copy the previous circle back into the current circle.
+ self.circle = circle_tmp
+ # Finally we prepare the config data
+ config = "# v0.1 keep this line!\n"
+ f = open(join(home, CONFIG_FILE_NAME), "w")