Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage restart message on reverting to initial username #260

Merged
merged 1 commit into from Feb 27, 2014

Conversation

ana-balica
Copy link
Contributor

Take into consideration also the following usecases:

  • user also changes the color
  • user cancels the modifications and reverts to the initial username
  • user makes a change, reverts, clicks accept, reenters the About Me settings

I have made some additional changes by making self.restart_alerts a set. As a list it accumulates elements with same values and a simple remove doesn't make a difference.

Now both testcases work as expected.

Take into consideration also the following usecases:
 - user also changes the color
 - user cancels the modifications and reverts to the initial username
 - user makes a change, reverts, clicks accept, reenters the About Me settings
@manuq manuq merged commit eed15fe into sugarlabs:master Feb 27, 2014
@manuq
Copy link
Contributor

manuq commented Feb 27, 2014

Works like a charm, thanks @ana-balica !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants