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 :)<br>
<br><div class="gmail_quote">On Fri, Aug 12, 2011 at 2:34 PM, Erik Blankinship <span dir="ltr"><<a href="mailto:erikb@mediamods.com">erikb@mediamods.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br></blockquote></div>FWIW you can take a look at the activity<div><br></div><div><a href="http://activities.sugarlabs.org/en-US/sugar/addon/4455" target="_blank">http://activities.sugarlabs.org/en-US/sugar/addon/4455</a></div>
<div><br>
</div><div><br></div></blockquote><div><br></div></div><div>Thank you Rafael. Good idea.</div><div><br></div><div>As you suggest, this activity opens URLs inside of the current activity. </div><div><br></div><div><div><font face="'courier new', monospace">hulahop.startup(os.path.join(env.get_profile_path(), 'gecko'))<span style="white-space:pre-wrap"> </span></font></div>
<div><font face="'courier new', monospace">from hulahop.webview import WebView</font></div></div><div><font face="'courier new', monospace"><br></font></div>
<div><div><font face="'courier new', monospace"> self.webview = WebView()</font></div><div><font face="'courier new', monospace"><span style="white-space:pre-wrap"> </span>self.set_canvas(self.webview)</font></div>
<div><font face="'courier new', monospace"> self.webview.show()</font></div><div><font face="'courier new', monospace"> self.webview.load_uri('<a href="http://google.com" target="_blank">http://google.com</a>')</font></div>
</div><div><br></div><div>I am not sure if this approach will continue to work after the coming move from firefox to webkit. Can anyone speak to this?</div><div><br></div><div>To avoid problems like this, I was hoping to have my current activity switch to the browse activity if possible. Is this possible?</div>
</div>
<br>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></blockquote></div><br>