sugarlabs / browse-activity

Sugar activity to browse the internet; WebKit on GTK on Sugar Toolkit
GNU General Public License v2.0
8 stars 44 forks source link

Delete the activity bundle after downloading and installation #100

Closed nswarup14 closed 5 years ago

nswarup14 commented 5 years ago

Fixes #81 Changes 1) downloadmanager.py

Updates On downloading a new activity, from activities.sugarlabs.org, the activity bundle is installed and the activity bundle is deleted from the journal.

Reason why the activity bundle was being shown in the journal is that, it was never removed from journal before. One side effect is that on deleting the activity bundle from the journal, the Show in Journal option returns immediately to the journal, and does not display the details of the activity.

Is there a way to remove the activity bundle from the journal, without losing the Show in Journal option.

Thanks

quozl commented 5 years ago

I'm confused. Which line of code installs the bundle?

nswarup14 commented 5 years ago

@quozl Sorry for the late response.

I have been working on this since yesterday, and these are what I have found.

Kindly advise on how to proceed.

I feel the Show in Journal option be removed from the alert. I believe that it was added incase no bundle_id was returned to launch the activity from Browse directly.

Thanks

quozl commented 5 years ago

Thanks. Because this coded behaviour covers the toolkit, the Sugar shell, and the activity, we'll use the issue to discuss how to change it.