Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/globalhistory.py
diff options
context:
space:
mode:
authorLucian Branescu Mihaila <lucian.branescu@gmail.com>2010-06-17 20:54:30 (GMT)
committer Lucian Branescu Mihaila <lucian.branescu@gmail.com>2010-06-17 20:54:30 (GMT)
commita8b17436c94ec188857c4a06efa6ade64a0ef20b (patch)
tree4093124cf4163003b4a9c43bad12076d0930fe4b /globalhistory.py
parent3ec9f9dca7f8a696ec90b934771436d70063880a (diff)
Browse stards and loads pages with pywebkitgtk. Several features are disabled for now, although it mostly has feature-parity with Surf.
Diffstat (limited to 'globalhistory.py')
-rw-r--r--globalhistory.py18
1 files changed, 7 insertions, 11 deletions
diff --git a/globalhistory.py b/globalhistory.py
index 1ec0a72..6fe5953 100644
--- a/globalhistory.py
+++ b/globalhistory.py
@@ -16,17 +16,13 @@
from datetime import datetime
-from xpcom import components
-from xpcom.components import interfaces
-from xpcom.server.factory import Factory
-
import places
class GlobalHistory:
- _com_interfaces_ = interfaces.nsIGlobalHistory, \
- interfaces.nsIGlobalHistory2, \
- interfaces.nsIGlobalHistory3
+ #_com_interfaces_ = interfaces.nsIGlobalHistory, \
+ # interfaces.nsIGlobalHistory2, \
+ # interfaces.nsIGlobalHistory3
cid = '{2a53cf28-c48e-4a01-ba18-3d3fef3e2985}'
description = 'Sugar Global History'
@@ -74,7 +70,7 @@ class GlobalHistory:
self._store.update_place(place)
-components.registrar.registerFactory(GlobalHistory.cid,
- GlobalHistory.description,
- '@mozilla.org/browser/global-history;2',
- Factory(GlobalHistory))
+#components.registrar.registerFactory(GlobalHistory.cid,
+# GlobalHistory.description,
+# '@mozilla.org/browser/global-history;2',
+# Factory(GlobalHistory))