Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/memorizetoolbar.py
diff options
context:
space:
mode:
Diffstat (limited to 'memorizetoolbar.py')
-rw-r--r--memorizetoolbar.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/memorizetoolbar.py b/memorizetoolbar.py
index b525b95..1be4743 100644
--- a/memorizetoolbar.py
+++ b/memorizetoolbar.py
@@ -115,8 +115,8 @@ class MemorizeToolbar(gtk.Toolbar):
def _load_game(self, button):
chooser = ObjectChooser(_('Choose memorize game'),
- None,
- gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT)
+ parent=self.activity,
+ flags=gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT)
jobject = ''
try:
result = chooser.run()