diff options
Diffstat (limited to 'rapid/misc.py')
-rw-r--r-- | rapid/misc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rapid/misc.py b/rapid/misc.py index 1e023ad..e748dc3 100644 --- a/rapid/misc.py +++ b/rapid/misc.py @@ -35,7 +35,7 @@ def run_dialog( text, secondarytext=None, parent=None, messagetype=gtk.MESSAGE_ text ) if parent: - d.set_transient_for(parent.widget.get_toplevel()) + d.set_transient_for(parent.get_toplevel()) for b,rid in extrabuttons: d.add_button(b,rid) d.vbox.set_spacing(12) |