diff options
Diffstat (limited to 'ka_html_page.py')
-rw-r--r-- | ka_html_page.py | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/ka_html_page.py b/ka_html_page.py index a250fc7..139af42 100644 --- a/ka_html_page.py +++ b/ka_html_page.py @@ -1,5 +1,5 @@ # coding: UTF-8 -# Copyright 2009 Thomas Jourdan +# Copyright 2009, 2010 Thomas Jourdan # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -26,15 +26,9 @@ try: import gnome gnome.init('Hulahop', '1.0') -#!! import gobject -#!! import gtk import hulahop hulahop.set_app_version(os.environ['SUGAR_BUNDLE_VERSION']) hulahop.startup(os.path.join(env.get_profile_path(), 'gecko')) -#!! import xpcom -#!! from xpcom.nsError import * -#!! from xpcom import components -#!! from xpcom.components import interfaces from hulahop.webview import WebView except: ka_debug.err('failed importing hulahop [%s] [%s]' % \ @@ -65,17 +59,12 @@ class HtmlPage(object): #!! from XOCom import XOCom #!! self.xocom = XOCom(self.control_sending_text) #REMEMBER THAT I HAVE STILL TO SEND THE ARGUMENT IN THE XOCOM CLASS #!! self._htmlview = self.xocom.create_webview() -#!! self._htmlview = hulahop.webview.WebView() self._htmlview = WebView() -#!! self._htmlview = WebView() except: ka_debug.err('failed creating hulahop [%s] [%s]' % \ (sys.exc_info()[0], sys.exc_info()[1])) traceback.print_exc(file=sys.__stderr__) -#!! def control_sending_text(self): -#!! pass - def autoconnect_events(self): """Auto connect introduction view.""" events = { |