Dubble -> Doubble

This commit is contained in:
Yann Leboulanger 2010-02-08 22:46:50 +01:00
parent fedd7dc8e2
commit b20199a423
3 changed files with 7 additions and 7 deletions

View File

@ -1594,7 +1594,7 @@ class ConfirmationDialogCheck(ConfirmationDialog):
"""
return self.checkbutton.get_active()
class ConfirmationDialogDubbleCheck(ConfirmationDialog):
class ConfirmationDialogDoubbleCheck(ConfirmationDialog):
"""
HIG compliant confirmation dialog with 2 checkbuttons
"""
@ -1969,9 +1969,9 @@ class InputTextDialog(CommonInputDialog):
start_iter, end_iter = self.input_buffer.get_bounds()
return self.input_buffer.get_text(start_iter, end_iter).decode('utf-8')
class DubbleInputDialog:
class DoubbleInputDialog:
"""
Class for Dubble Input dialog
Class for Doubble Input dialog
"""
def __init__(self, title, label_str1, label_str2, input_str1=None,

View File

@ -1762,7 +1762,7 @@ class GroupchatControl(ChatControlBase):
jid)
# Ask for a reason
dialogs.DubbleInputDialog(_('Destroying %s') % self.room_jid,
dialogs.DoubbleInputDialog(_('Destroying %s') % self.room_jid,
_('You are going to definitively destroy this room.\n'
'You may specify a reason below:'),
_('You may also enter an alternate venue:'), ok_handler=on_ok)

View File

@ -1834,7 +1834,7 @@ class Interface:
if 'ssl_error' in self.instances[account]['online_dialog']:
self.instances[account]['online_dialog']['ssl_error'].destroy()
self.instances[account]['online_dialog']['ssl_error'] = \
dialogs.ConfirmationDialogDubbleCheck(pritext, sectext, checktext1,
dialogs.ConfirmationDialogDoubbleCheck(pritext, sectext, checktext1,
checktext2, on_response_ok=on_ok, on_response_cancel=on_cancel)
def handle_event_fingerprint_error(self, account, data):
@ -1889,7 +1889,7 @@ class Interface:
if 'plain_connection' in self.instances[account]['online_dialog']:
self.instances[account]['online_dialog']['plain_connection'].destroy()
self.instances[account]['online_dialog']['plain_connection'] = \
dialogs.ConfirmationDialogDubbleCheck(pritext, sectext,
dialogs.ConfirmationDialogDoubbleCheck(pritext, sectext,
checktext1, checktext2, on_response_ok=on_ok,
on_response_cancel=on_cancel, is_modal=False)
@ -1924,7 +1924,7 @@ class Interface:
if 'insecure_ssl' in self.instances[account]['online_dialog']:
self.instances[account]['online_dialog']['insecure_ssl'].destroy()
self.instances[account]['online_dialog']['insecure_ssl'] = \
dialogs.ConfirmationDialogDubbleCheck(pritext, sectext,
dialogs.ConfirmationDialogDoubbleCheck(pritext, sectext,
checktext1, checktext2, on_response_ok=on_ok,
on_response_cancel=on_cancel, is_modal=False)