Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tawindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tawindow.py b/tawindow.py
index 3a8f1d5..36fe689 100644
--- a/tawindow.py
+++ b/tawindow.py
@@ -1427,7 +1427,7 @@ class TurtleArtWindow():
def _import_from_journal(self, blk):
""" Import a file from the Sugar Journal """
if self.running_sugar:
- chooser = ObjectChooser('Choose image', tw.parent,
+ chooser = ObjectChooser('Choose image', self.parent,
gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT)
try:
result = chooser.run()