[Trac #531] web activity needs remote launching support (with patch)

Zarro Boogs per Child bugtracker at laptop.org
Mon Dec 4 00:38:02 EST 2006


#531: web activity needs remote launching support (with patch)
-------------------------+--------------------------------------------------
 Reporter:  ywwg         |       Owner:  dcbw   
     Type:  enhancement  |      Status:  new    
 Priority:  low          |   Milestone:  BTest-2
Component:  sugar        |    Keywords:         
-------------------------+--------------------------------------------------
 I added support in the web activity for remote launching from other
 applications (much like xbook).  With this patch, one can execute the
 following:

 {{{
 #!python
   from sugar.activity import ActivityFactory
   activity = activityFactory.create("org.laptop.WebActivity")
   activity.execute("load-uri",["http://mysite.com"])
 }}}

 And a web browser will be launched with that uri.  For now I have changed
 the _HOMEPAGE to "about:blank," because I think it's a bad idea to load
 google every time any page is launched.  This means that there's no more
 default homepage... but that's a bug for a later day.

 This patch enables PenguinTV to load urls clicked in RSS feeds in the web
 activity (very common, since many RSS feeds do not show complete content).

-- 
Ticket URL: <http://dev.laptop.org/ticket/531>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list