changeset 544fd812bd4a in /home/hg/repos/gajim
author: Denis Fomin fominde@gmail.com branches: gtk3 details:http://hg.gajim.org/gajim?cmd=changeset;node=544fd812bd4a description: [Darlan] Transient dialogs. See #7185
diffstat:
src/config.py | 3 ++- src/gui_interface.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r e21472bb6fc9 -r 544fd812bd4a src/config.py --- a/src/config.py Thu Sep 05 12:15:28 2013 +0400 +++ b/src/config.py Sat Sep 07 21:50:18 2013 +0400 @@ -2167,7 +2167,8 @@ message = _('Enter a new name for account %s') % self.current_account old_text = self.current_account dialogs.InputDialog(title, message, old_text, is_modal=False, - ok_handler=(on_renamed, self.current_account)) + ok_handler=(on_renamed, self.current_account), + transient_for=self.window)
def option_changed(self, option, value): return gajim.config.get_per('accounts', self.current_account, option) \ diff -r e21472bb6fc9 -r 544fd812bd4a src/gui_interface.py --- a/src/gui_interface.py Thu Sep 05 12:15:28 2013 +0400 +++ b/src/gui_interface.py Sat Sep 07 21:50:18 2013 +0400 @@ -1175,7 +1175,7 @@ dlg = dialogs.InputDialog(_('Username Conflict'), _('Please type a new username for your local account'), input_str=obj.alt_name, is_modal=True, ok_handler=on_ok, - cancel_handler=on_cancel) + cancel_handler=on_cancel, transient_for=self.roster.window)
def handle_event_resource_conflict(self, obj): # ('RESOURCE_CONFLICT', account, ())