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.bender@gmail.com>2011-04-16 14:31:22 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-04-16 14:31:22 (GMT)
commit9461f693df5b91f4e3df24d39a79148253e5d9ff (patch)
tree04a22c070f7a513b144094db5f47ec401d47a907 /turtleart.py
parente474df3d4f8fece03b1e5d8fe8336d9bc6417cd9 (diff)
fix regression: pass parent window from GNOME to proper place
Diffstat (limited to 'turtleart.py')
-rwxr-xr-xturtleart.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/turtleart.py b/turtleart.py
index cdaf520..ca9153a 100755
--- a/turtleart.py
+++ b/turtleart.py
@@ -49,6 +49,7 @@ import gettext
# but it will not find the .mo files in the local locale directory when running
# from a git repository or the unzipped .xo file.
# gettext.bindtextdomain('org.laptop.TurtleArtActivity', 'locale')
+
gettext.textdomain('org.laptop.TurtleArtActivity')
_ = gettext.gettext
@@ -157,7 +158,7 @@ class TurtleMain():
def _start_gtk(self):
''' Get a main window set up. '''
self.win.connect('configure_event', self.tw.update_overlay_position)
- self.tw.window = self.win
+ self.tw.parent = self.win
if self.ta_file is None:
self.tw.load_start()
else: