summaryrefslogtreecommitdiff
path: root/rapid/misc.py
diff options
context:
space:
mode:
authorJulien Valroff <julien@kirya.net>2012-01-08 07:54:46 +0100
committerJulien Valroff <julien@kirya.net>2012-01-08 07:54:46 +0100
commit05e7b52a1f94a40996f2619ad9db8bbdb1518497 (patch)
treef63dbaaf571e59a139ddf3de2a3103965e8093aa /rapid/misc.py
parentda2cce92a7eed706d04d6cbe778fd1bf32f18eeb (diff)
Imported Upstream version 0.4.3upstream/0.4.3
Diffstat (limited to 'rapid/misc.py')
-rw-r--r--rapid/misc.py2
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)