#5343 NORM Future : Wikibrowse should use relative paths

Zarro Boogs per Child bugtracker at laptop.org
Thu Dec 6 13:56:51 EST 2007


#5343: Wikibrowse should use relative paths
----------------------------------+-----------------------------------------
  Reporter:  AlexL                |       Owner:  sj            
      Type:  defect               |      Status:  new           
  Priority:  normal               |   Milestone:  Future Release
 Component:  wikibrowse-activity  |     Version:                
Resolution:                       |    Keywords:                
  Verified:  0                    |  
----------------------------------+-----------------------------------------

Comment(by AlexL):

 All that needs to change is one line in wikibrowse.py in order for the
 activity to work in both /home/olpc/Activities and /usr/share/activities

 in wikibrowse.py:

   # Default path is now wikibrowse
 - _WIKI_PATH =
 'file:///home/olpc/Activities/WikiBrowse.activity/wikibrowse.html'
 + _WIKI_PATH = activity.get_bundle_path() + '/wikibrowse.html'

-- 
Ticket URL: <http://dev.laptop.org/ticket/5343#comment:2>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list