set title to insecure dialog. Fixes #7239

This commit is contained in:
Yann Leboulanger 2013-09-12 17:30:50 +02:00
parent c0c965e2ca
commit 9dbd7eac8a
1 changed files with 1 additions and 0 deletions

View File

@ -1883,6 +1883,7 @@ class PlainConnectionDialog(ConfirmationDialogDoubleCheck):
self.ok_button = self.action_area.get_children()[0] # right to left
self.ok_button.set_sensitive(False)
self.checkbutton1.connect('clicked', self.on_checkbutton_clicked)
self.set_title(_('Insecure connection'))
def on_checkbutton_clicked(self, widget):
self.ok_button.set_sensitive(widget.get_active())