You shouldn't be able to add the same theme twice
Bug #246753 reported by
black
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Awn |
Fix Released
|
Low
|
Unassigned |
Bug Description
You can add twice the same theme in awn-manager. There isn't a new directory created, so the 2 themes are an exact copy of each other. On the other hand, if you delete one theme, the directory is deleted. If you delete the copy, you will get an error (because the directory of the theme is already removed).
So we have 2 possible solutions:
- add the theme under a new name
- don't add the theme but show a warning (that they are adding an exact theme)
Changed in awn: | |
importance: | Undecided → Low |
milestone: | none → 0.4.0 |
status: | New → Triaged |
summary: |
- You shouldn't be able to add twice the same theme + You shouldn't be able to add the same theme twice |
Changed in awn: | |
status: | Triaged → Fix Committed |
Changed in awn: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Another possible solution:
Update/replace the old theme, and notify the user of doing do. (My vote goes to this solution)
Makes sense since :) there's a 'Version' parameter available when saving a theme.
I think this is how it's done for applets, also.