From a8b17436c94ec188857c4a06efa6ade64a0ef20b Mon Sep 17 00:00:00 2001 From: Lucian Branescu Mihaila Date: Thu, 17 Jun 2010 20:54:30 +0000 Subject: Browse stards and loads pages with pywebkitgtk. Several features are disabled for now, although it mostly has feature-parity with Surf. --- (limited to 'globalhistory.py') 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)) -- cgit v0.9.1