From 9461f693df5b91f4e3df24d39a79148253e5d9ff Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sat, 16 Apr 2011 14:31:22 +0000 Subject: fix regression: pass parent window from GNOME to proper place --- (limited to 'turtleart.py') 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: -- cgit v0.9.1