diff options
author | florent <florent@toopy.org> | 2012-01-19 13:49:14 (GMT) |
---|---|---|
committer | florent <florent@toopy.org> | 2012-01-19 13:49:14 (GMT) |
commit | db878894bee02fa615e554a662bc1fe4ba97255f (patch) | |
tree | 663c94904780e0fbcf18c2f6396799e66823f047 | |
parent | aa252bec8ac6ee884af1b0b62ede8246c7f6dd44 (diff) |
comment webview screen
-rw-r--r-- | atoidejouer/ui/screens.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/atoidejouer/ui/screens.py b/atoidejouer/ui/screens.py index 551e662..753aa6e 100644 --- a/atoidejouer/ui/screens.py +++ b/atoidejouer/ui/screens.py @@ -17,7 +17,6 @@ from sugar.activity import activity from sugar.graphics.objectchooser import ObjectChooser #from hulahop.webview import WebView -from hulahop.webview import WebView # atoidejouer import from atoidejouer.tools import config, image, key, sound, storage, ui @@ -256,7 +255,7 @@ class ScreenStory(graphics.Scene): # .. _new_w, _new_h, _w, _h = size _x, _y = align - # + # if self.fullscreen is True\ or self._screen_width < 1024: _scene_with = self._screen_width @@ -274,7 +273,7 @@ class ScreenStory(graphics.Scene): return _new_x, _new_y def __get_scene_size(self): - # + # if self.fullscreen is True\ or self._screen_width < 1024: _scene_with = self._screen_width @@ -806,7 +805,7 @@ class ScreenActivity(gtk.ScrolledWindow): self._show() def _get_title(self, text): - # init + # init _label = gtk.Label() # show _label.show() @@ -843,7 +842,7 @@ class ScreenActivity(gtk.ScrolledWindow): return _button def _get_hidden_text(self): - # init + # init _label = gtk.Label() # set markup _label.set_use_markup(True) @@ -1003,10 +1002,10 @@ class ScreenActivity(gtk.ScrolledWindow): self._activity.set_canvas(self) -class ScreenHelp(WebView): +class ScreenHelp(object): def __init__(self, activity_): - WebView.__init__(self) + # WebView.__init__(self) # keep activity self._activity = activity_ # load html content @@ -1015,7 +1014,8 @@ class ScreenHelp(WebView): self._show() def _show(self): + pass # show all - self.show() + # self.show() # update toolbar - self._activity.set_canvas(self) + # self._activity.set_canvas(self) |