Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/turtleart.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2009-05-03 20:36:16 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-05-03 20:36:16 (GMT)
commit569cc12d1e19919f5af44f38331c3a9ad7fe7683 (patch)
treec75cea15d745753f208da72e9ec01194e67d740b /turtleart.py
parent57aa5fbdc4d07c2d062ad40a55cb82a4007901e5 (diff)
refactoring of media blocks
Diffstat (limited to 'turtleart.py')
-rwxr-xr-xturtleart.py20
1 files changed, 19 insertions, 1 deletions
diff --git a/turtleart.py b/turtleart.py
index 094d498..6133c8a 100755
--- a/turtleart.py
+++ b/turtleart.py
@@ -67,7 +67,9 @@ def main():
# win = gtk.Window(gtk.WINDOW_TOPLEVEL)
win = gtk.Window()
- twNew(win, os.path.abspath('.'),lang)
+ win.set_has_frame(True)
+ win.set_decorated(True)
+ twNew(win, os.path.abspath('.'), lang)
win.connect("destroy", lambda w: gtk.main_quit())
gtk.main()
return 0
@@ -75,4 +77,20 @@ def main():
if __name__ == "__main__":
main()
+"""
+--- sugar-turtleart-activity-46.orig/turtleart.py
++++ sugar-turtleart-activity-46/turtleart.py
+@@ -57,7 +57,7 @@
+ os.path.join(tapath,'instance/')))
+
+ win1 = gtk.Window(gtk.WINDOW_TOPLEVEL)
+- twNew(win1, os.path.abspath('.'),os.environ['LANG'])
++ twNew(win1, os.path.abspath('.'),os.environ.get('LANG', 'C'))
+ win1.connect("destroy", lambda w: gtk.main_quit())
+ gtk.main()
+ return 0
+I suspect there are still problems left, as it seem to read the svg
+files from the build directory, and not from the installed files.
+Have not investiaged it yet.
+"""