[gcompris/gcomprixogoo] Minor, python template is now formatted at 80 column.



commit 54c851860260919a76ff484d2dd59d0caa3b9cb9
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Wed Dec 15 21:43:34 2010 +0100

    Minor, python template is now formatted at 80 column.

 src/pythontemplate-activity/pythontemplate.py |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/pythontemplate-activity/pythontemplate.py b/src/pythontemplate-activity/pythontemplate.py
index 329f29d..009ea29 100644
--- a/src/pythontemplate-activity/pythontemplate.py
+++ b/src/pythontemplate-activity/pythontemplate.py
@@ -50,14 +50,17 @@ class Gcompris_pythontemplate:
     gcompris.set_default_background(self.gcomprisBoard.canvas.get_root_item())
 
     # Create our rootitem. We put each canvas item in it so at the end we
-    # only have to kill it. The canvas deletes all the items it contains automaticaly.
-    self.rootitem = goocanvas.Group(parent = self.gcomprisBoard.canvas.get_root_item())
+    # only have to kill it. The canvas deletes all the items it contains
+    # automaticaly.
+    self.rootitem = goocanvas.Group(parent =
+                                    self.gcomprisBoard.canvas.get_root_item())
 
     goocanvas.Text(
       parent = self.rootitem,
       x=400.0,
       y=100.0,
-      text=_("This is the first plugin in GCompris coded in the Python\nProgramming language."),
+      text=_("This is the first plugin in GCompris coded in the Python\n"
+             "Programming language."),
       fill_color="black",
       anchor = gtk.ANCHOR_CENTER,
       alignment = pango.ALIGN_CENTER



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]