changeset d2883c425849 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=d2883c425849 description: move "Do not ask me again" accelerator to D. Fixes #5755
diffstat:
src/groupchat_control.py | 2 +- src/gui_interface.py | 8 ++++---- src/message_window.py | 2 +- src/roster_window.py | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-)
diffs (93 lines):
diff -r 85dc199c2ab1 -r d2883c425849 src/groupchat_control.py --- a/src/groupchat_control.py Thu May 20 20:51:07 2010 +0200 +++ b/src/groupchat_control.py Fri May 21 09:38:09 2010 +0200 @@ -1723,7 +1723,7 @@ 'from this group chat.')
dialogs.ConfirmationDialogCheck(pritext, sectext, - _('Do _not ask me again'), on_response_ok=on_ok, + _('_Do not ask me again'), on_response_ok=on_ok, on_response_cancel=on_cancel) return
diff -r 85dc199c2ab1 -r d2883c425849 src/gui_interface.py --- a/src/gui_interface.py Thu May 20 20:51:07 2010 +0200 +++ b/src/gui_interface.py Fri May 21 09:38:09 2010 +0200 @@ -1211,7 +1211,7 @@
dialogs.YesNoDialog(_('GPG key not trusted'), _('The GPG key used to ' 'encrypt this chat is not trusted. Do you really want to encrypt ' - 'this message?'), checktext=_('Do _not ask me again'), + 'this message?'), checktext=_('_Do not ask me again'), on_response_yes=on_yes, on_response_no=on_no)
def handle_event_password_required(self, account, array): @@ -1983,7 +1983,7 @@ 'connection. This means all your conversations will be ' 'exchanged unencrypted. Are you sure you want to do that?') checktext1 = _('Yes, I really want to connect insecurely') - checktext2 = _('Do _not ask me again') + checktext2 = _('_Do not ask me again') if 'plain_connection' in self.instances[account]['online_dialog']: self.instances[account]['online_dialog']['plain_connection'].\ destroy() @@ -2020,7 +2020,7 @@ 'connection. You should install PyOpenSSL to prevent that. Are you ' 'sure you want to do that?') checktext1 = _('Yes, I really want to connect insecurely') - checktext2 = _('Do _not ask me again') + checktext2 = _('_Do not ask me again') if 'insecure_ssl' in self.instances[account]['online_dialog']: self.instances[account]['online_dialog']['insecure_ssl'].destroy() self.instances[account]['online_dialog']['insecure_ssl'] = \ @@ -2055,7 +2055,7 @@ sectext = _('You are about to send your password unencrypted on an ' 'insecure connection. Are you sure you want to do that?') checktext1 = _('Yes, I really want to connect insecurely') - checktext2 = _('Do _not ask me again') + checktext2 = _('_Do not ask me again') if 'insecure_password' in self.instances[account]['online_dialog']: self.instances[account]['online_dialog']['insecure_password'].\ destroy() diff -r 85dc199c2ab1 -r d2883c425849 src/message_window.py --- a/src/message_window.py Thu May 20 20:51:07 2010 +0200 +++ b/src/message_window.py Fri May 21 09:38:09 2010 +0200 @@ -219,7 +219,7 @@ dialogs.YesNoDialog( _('You are going to close several tabs'), _('Do you really want to close them all?'), - checktext=_('Do _not ask me again'), on_response_yes=on_yes1) + checktext=_('_Do not ask me again'), on_response_yes=on_yes1) return True
def on_yes(ctrl): diff -r 85dc199c2ab1 -r d2883c425849 src/roster_window.py --- a/src/roster_window.py Thu May 20 20:51:07 2010 +0200 +++ b/src/roster_window.py Fri May 21 09:38:09 2010 +0200 @@ -2733,7 +2733,7 @@ sectext = _('This contact will see you offline and you will not ' 'receive messages he will send you.') dialogs.ConfirmationDialogCheck(pritext, sectext, - _('Do _not ask me again'), on_response_ok=_block_it) + _('_Do not ask me again'), on_response_ok=_block_it)
def on_unblock(self, widget, list_, group=None): """ @@ -3393,7 +3393,7 @@ 'but only until you change your status. Then he or she will see ' 'your global status.') % {'status': show} dialogs.ConfirmationDialogCheck(pritext, sectext, - _('Do _not ask me again'), on_response_ok=send_it) + _('_Do not ask me again'), on_response_ok=send_it)
def on_status_combobox_changed(self, widget): """ @@ -4117,7 +4117,7 @@ 'line. Generally it is used when the same person has several ' 'Jabber accounts or transport accounts.') dlg = dialogs.ConfirmationDialogCheck(pritext, sectext, - _('Do _not ask me again'), on_response_ok=merge_contacts) + _('_Do not ask me again'), on_response_ok=merge_contacts) if not confirm_metacontacts: # First time we see this window dlg.checkbutton.set_active(True)