#955 closed defect (fixed)
mimetype database only updated when installing activities
Reported by: | erikos | Owned by: | tomeu |
---|---|---|---|
Priority: | Unspecified by Maintainer | Milestone: | |
Component: | Sugar | Version: | 0.84.x |
Severity: | Major | Keywords: | r+ |
Cc: | Distribution/OS: | Unspecified | |
Bug Status: | New |
Description
The code to read in the activity/imetypes.xml lives in sugar/bundle/ActivityBundle.install This is only executed when installing an activity.
When one unzip a .xo into ~/Activities (when running Sugar) the mimetype is not added to the database. There is some code in jarabe/model/bundleregistry.py to monitor those folders for changes. We could call the mimetype adding there.
Another case is, when sugar is not running (emulator for example) and one places an activity in the ~/Activity folder. This should ideally be handled as well.
Change History (3)
comment:1 Changed 14 years ago by erikos
- Keywords r? added
comment:2 Changed 14 years ago by tomeu
- Keywords r+ added; r? removed
- Resolution set to fixed
- Status changed from new to closed
Pushed, thanks!
Note: See
TracTickets for help on using
tickets.
Move the mime-database-update function out of the install one.
update mime-database on new folder detection.