<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -102,14 +102,11 @@ import webkit
 from pyjamas.__pyjamas__ import pygwt_processMetas, set_main_frame
 from pyjamas import DOM
 
-def module_load(m, load):
-    print m
+def module_load(m):
     minst = None
     exec &quot;&quot;&quot;\
 from %(mod)s import %(mod)s
 minst = %(mod)s()
-if load:
-    minst.onModuleLoad()
 &quot;&quot;&quot; % ({'mod': m})
     return minst
 
@@ -327,7 +324,7 @@ class WebBrowser(gtk.Window):
             if application[-3:] == &quot;.py&quot;:
 
                 try:
-                    m = module_load(app[:-3], False)
+                    m = module_load(app[:-3])
                 except ImportError, e:
                     print_stack()
                     print e
@@ -381,7 +378,8 @@ class WebBrowser(gtk.Window):
         gdoc = main_frame.get_gdom_document()
 
         for m in pygwt_processMetas():
-            module_load(m, True)
+            minst = module_load(m)
+            minst.onModuleLoad()
 
     def _set_title(self, title):
         self.props.title = title
@@ -389,7 +387,7 @@ class WebBrowser(gtk.Window):
     def _loading_start_cb(self, view, frame):
         main_frame = self._browser.get_main_frame()
         if frame is main_frame:
-            self._set_title(_(&quot;Loading %s - %s&quot;) % (frame.get_title(),frame.get_uri()))
+            self._set_title(_(&quot;Loading %s - %s&quot;) % (frame.get_title(), frame.get_uri()))
         self._toolbar.set_loading(True)
 
     def _loading_stop_cb(self, view, frame):</diff>
      <filename>pyjamas-webkit/bin/pyjd.py</filename>
    </modified>
    <modified>
      <diff>@@ -4,4 +4,4 @@ gendocs:
 	python gendocs.py
 
 upload:
-	rsync -HPavz index.html api shell.sf.net:/home/groups/p/py/pyjd/htdocs/
+	rsync -HPavz *.html api shell.sf.net:/home/groups/p/py/pyjd/htdocs/</diff>
      <filename>pyjamas-webkit/doc/Makefile</filename>
    </modified>
    <modified>
      <diff>@@ -77,10 +77,14 @@ class VerticalDemoSlider(FocusWidget):
     Here also is the first actual bit of underlying HTML / DOM model
     showing through: we're basing the widget on a &quot;div&quot; tag, hence we
     call DOM.createDiv() and set that as the FocusWidget's element.
+    (Immediately, therefore, you can see that the Pyjamas Widgets
+    are effectively... &quot;guardian&quot; classes that look after and
+    manipulate bits of the underlying DOM model, making the whole
+    process of creating and maintaining your application just that
+    little bit easier to understand).
     We're also going to copy what AbsolutePanel.__init__() does,
-    making the container DIV free-moving,
-    and we're also going to throw in a second hard-coded &quot;div&quot; for the actual
-    slider handle:
+    making the container DIV free-moving, and we're also going to throw
+    in a second hard-coded &quot;div&quot; for the actual slider handle:
 &lt;/p&gt;
 &lt;pre class=&quot;code&quot;&gt;
         DOM.setStyleAttribute(element, &quot;position&quot;, &quot;relative&quot;)</diff>
      <filename>pyjamas-webkit/doc/controls_tutorial.html</filename>
    </modified>
    <modified>
      <diff>@@ -83,7 +83,14 @@ to run in both environments.
 &lt;h3&gt;Documentation&lt;/h3&gt;
 &lt;p&gt;
 The Pyjamas api is documented &lt;a href=&quot;./api&quot;&gt;here&lt;/a&gt;.  Also, as Pyjamas is based on Google's
-WebKit, the documentation for &lt;a href=&quot;http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/index.html&quot;&gt;GWT 1.5&lt;/a&gt; may prove useful.
+WebKit, the documentation for
+&lt;a href=&quot;http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/index.html&quot;&gt;GWT 1.5&lt;/a&gt;
+may prove useful.  There is also a
+&lt;a href=&quot;./controls_tutorial.html&quot;&gt;Control Widget Tutorial&lt;/a&gt; on how to create
+your own widget, which you may find useful if you find that the standard
+widget set does not cover what you want.  It's very simply, doesn't involve or
+require AJAX, and requires a tiny bit of CSS style knowledge. A small bit of
+HTML DOM model knowledge is also required.
 &lt;/p&gt;
 
 &lt;h3&gt;Requirements&lt;/h3&gt;</diff>
      <filename>pyjamas-webkit/doc/index.html</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 &lt;html&gt;
     &lt;head&gt;
-        &lt;meta name=&quot;pygwt:module&quot; content=&quot;Hello&quot;&gt;
+        &lt;meta name=&quot;pygwt:module&quot; content=&quot;ControlDemo&quot;&gt;
         &lt;title&gt;Hello&lt;/title&gt;
     &lt;/head&gt;
     &lt;body bgcolor=&quot;white&quot;&gt;</diff>
      <filename>pyjamas-webkit/examples/controls/ControlDemo.html</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9d52f1e6f6532f7d9af6df814445e02f51d31d72</id>
    </parent>
  </parents>
  <author>
    <name>lkcl</name>
    <email>lkcl@lkcl.net</email>
  </author>
  <url>http://github.com/lkcl/pyjamas-desktop/commit/75042c4cf706d44f92374a6f0e702edaccad63c5</url>
  <id>75042c4cf706d44f92374a6f0e702edaccad63c5</id>
  <committed-date>2008-09-13T14:08:55-07:00</committed-date>
  <authored-date>2008-09-13T14:08:55-07:00</authored-date>
  <message>wrong module name</message>
  <tree>7074bf11e0beddbde5e69668fd93374c7a0162d4</tree>
  <committer>
    <name>lkcl</name>
    <email>lkcl@lkcl.net</email>
  </committer>
</commit>
