Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/help_pd.py
diff options
context:
space:
mode:
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()