Adding Activities installed to the Favorites view
Hi, I have an activity running on the XO. I created the .xo package and it installs properly from the .xo file by running the sugar-install-bundle command. I wanted to know whether after installing the activity I can automatically add my activity to the favorites list so that it shows up in the Favorites view? If so how can I do it? Thanks jbsp72 ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Adding Activities installed to the Favorites view
On 15.01.2009, at 12:27, shivaprasad javali wrote: Hi, I have an activity running on the XO. I created the .xo package and it installs properly from the .xo file by running the sugar- install-bundle command. I wanted to know whether after installing the activity I can automatically add my activity to the favorites list so that it shows up in the Favorites view? No. If so how can I do it? Users typically install a bundle from the Journal. If they do so, I think it becomes a favorite automatically. - Bert - ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Adding Activities installed to the Favorites view
What if it is installed by running the sugar-install-bundle from a shell script. My application has to do some things like add a .modules file so that the snd-pcm-oss module which my application needs to play sound. So I have a shell script installing the activity using sugar-install-bundle and then setting up other things for the activity. In this case would the activity be added to the Favorites list? Thanks jbsp72 On Thu, Jan 15, 2009 at 5:06 PM, Bert Freudenberg b...@freudenbergs.dewrote: On 15.01.2009, at 12:27, shivaprasad javali wrote: Hi, I have an activity running on the XO. I created the .xo package and it installs properly from the .xo file by running the sugar- install-bundle command. I wanted to know whether after installing the activity I can automatically add my activity to the favorites list so that it shows up in the Favorites view? No. If so how can I do it? Users typically install a bundle from the Journal. If they do so, I think it becomes a favorite automatically. - Bert - ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Adding Activities installed to the Favorites view
The file /usr/share/sugar/data/activites.defaults defines which activities are marked as favorite during installation. I didn't test it, but the comment says so. Regards, Philipp shivaprasad javali wrote: What if it is installed by running the sugar-install-bundle from a shell script. My application has to do some things like add a .modules file so that the snd-pcm-oss module which my application needs to play sound. So I have a shell script installing the activity using sugar-install-bundle and then setting up other things for the activity. In this case would the activity be added to the Favorites list? Thanks jbsp72 On Thu, Jan 15, 2009 at 5:06 PM, Bert Freudenberg b...@freudenbergs.de mailto:b...@freudenbergs.de wrote: On 15.01.2009, at 12:27, shivaprasad javali wrote: Hi, I have an activity running on the XO. I created the .xo package and it installs properly from the .xo file by running the sugar- install-bundle command. I wanted to know whether after installing the activity I can automatically add my activity to the favorites list so that it shows up in the Favorites view? No. If so how can I do it? Users typically install a bundle from the Journal. If they do so, I think it becomes a favorite automatically. - Bert - ___ Devel mailing list Devel@lists.laptop.org mailto:Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel