diff options
author | Denis Fomin <fominde@gmail.com> | 2013-10-21 23:22:27 +0400 |
---|---|---|
committer | Denis Fomin <fominde@gmail.com> | 2013-10-21 23:22:27 +0400 |
commit | a62d919cdc83dfaa1d24f5d08f5e8c80d78814c7 (patch) | |
tree | c5ac39a9fb33bb66c93a7ae7cb1948d938173545 /src/gtkgui_helpers.py | |
parent | 0af89a407c54db4df5dae8881457c98beac4476b (diff) |
Set transient_for for 'This file already exists' dialog(FT).
Diffstat (limited to 'src/gtkgui_helpers.py')
-rw-r--r-- | src/gtkgui_helpers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtkgui_helpers.py b/src/gtkgui_helpers.py index 4d3e39e9f..240666b3c 100644 --- a/src/gtkgui_helpers.py +++ b/src/gtkgui_helpers.py @@ -845,8 +845,8 @@ def on_avatar_save_as_menuitem_activate(widget, jid, default_name=''): return dialog2 = dialogs.FTOverwriteConfirmationDialog( _('This file already exists'), _('What do you want to do?'), - propose_resume=False, on_response=(on_continue, file_path)) - dialog2.set_transient_for(dialog) + propose_resume=False, on_response=(on_continue, file_path), + transient_for=dialog) dialog2.set_destroy_with_parent(True) else: dirname = os.path.dirname(file_path) |