I'm arguing that a more general mechanism would be even better. --scott On Friday, August 12, 2011, Martin Abente <martin.abente.lah...@gmail.com> wrote: > In January I sent a patch to sugar-devel with minor changes to sugar-launch so it would be able to pass the uri argument to the Browse activity (to open links, etc, from other activities or sugar itself). I wonder if some have changed mind about including it :) > > On Fri, Aug 12, 2011 at 2:34 PM, Erik Blankinship <er...@mediamods.com> wrote: >>>> >>> FWIW you can take a look at the activity >>> http://activities.sugarlabs.org/en-US/sugar/addon/4455 < http://activities.sugarlabs.org/en-US/sugar/addon/4455> >>> >> >> Thank you Rafael. Good idea. >> As you suggest, this activity opens URLs inside of the current activity. >> hulahop.startup(os.path.join(env.get_profile_path(), 'gecko')) >> from hulahop.webview import WebView >> self.webview = WebView() >> self.set_canvas(self.webview) >> self.webview.show() >> self.webview.load_uri('http://google.com') >> I am not sure if this approach will continue to work after the coming move from firefox to webkit. Can anyone speak to this? >> To avoid problems like this, I was hoping to have my current activity switch to the browse activity if possible. Is this possible? >> _______________________________________________ >> Sugar-devel mailing list >> Sugar-devel@lists.sugarlabs.org <Sugar-devel@lists.sugarlabs.org> >> http://lists.sugarlabs.org/listinfo/sugar-devel < http://lists.sugarlabs.org/listinfo/sugar-devel> >> > >
-- ( http://cscott.net )
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel