From: Enlightenment S. <no-...@en...> - 2010-05-06 14:15:26
|
Log: Fix undo operation for reset_to and remove states bug. By Masaki inserted after changes in edje_edit api revision 47814. Author: Thiago Ribeiro Masaki <masaki at profusion.mobi> Author: tiago Date: 2010-05-06 07:15:20 -0700 (Thu, 06 May 2010) New Revision: 48645 Modified: trunk/editje/editje/details_widget_states.py Modified: trunk/editje/editje/details_widget_states.py =================================================================== --- trunk/editje/editje/details_widget_states.py 2010-05-06 14:15:17 UTC (rev 48644) +++ trunk/editje/editje/details_widget_states.py 2010-05-06 14:15:20 UTC (rev 48645) @@ -154,7 +154,7 @@ def _state_restore(self, part_name, state_save, readd=False): self._edit_grp.part.name = part_name - st_name = state_save.name + st_name = (state_save.name, state_save.value) if readd: self._edit_grp.part.state_add(*st_name) |