Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/help_pd.py
diff options
context:
space:
mode:
authorroot <root@ghunt-desktop.(none)>2010-05-08 11:39:54 (GMT)
committer root <root@ghunt-desktop.(none)>2010-05-08 11:39:54 (GMT)
commitde854f31528f10e01474ff4a8d9e1f38e2915078 (patch)
tree9e9b5639018154d0edc573e20460d12a7129547c /help_pd.py
parentd3eb245549b6431a9bfb4714393acccce2b4bd46 (diff)
include the changes as well as additions
Diffstat (limited to 'help_pd.py')
-rwxr-xr-xhelp_pd.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/help_pd.py b/help_pd.py
index e8fb5c2..d7404e4 100755
--- a/help_pd.py
+++ b/help_pd.py
@@ -35,13 +35,13 @@ from pdb import *
from sugar.graphics.toolbutton import ToolButton
import hulahop
-hulahop.startup(os.path.join(activity.get_activity_root(), 'data/gecko'))
+#hulahop.startup(os.path.join(activity.get_activity_root(), 'data/gecko'))
-#from hulahop.webview import WebView
+"""#from hulahop.webview import WebView
from browser import Browser
import xpcom
from xpcom.components import interfaces
-
+"""
gobject.threads_init()
HOME = os.path.join(activity.get_bundle_path(), _('help/PyDebug.htm'))
@@ -55,6 +55,11 @@ _logger = logging.getLogger('PyDebug')
class Help(Window):
def __init__(self, parent):
self.pydebug = parent
+ hulahop.startup(os.path.join(parent.debugger_home, 'gecko'))
+ #from hulahop.webview import WebView
+ from browser import Browser
+ import xpcom
+ from xpcom.components import interfaces
self.help_id = None
self.handle = ActivityHandle()
self.handle.activity_id = util.unique_id()