Improve tooltip of update checkbox of restore window

This commit is contained in:
Mathias Behrle committed 2009-09-12 21:59:21 +02:00
1 parent 00c87e4e40
commit bc0af97321
1 file changed
+3 -2
+3 -2
View File
@@ -144,8 +144,9 @@ class DBRestore(object):
label_db_update.set_alignment(1, 0.5)
table.attach(label_db_update, 0, 1, 5, 6, yoptions=gtk.FILL)
self.check_update = gtk.CheckButton()
self.tooltips.set_tip(self.check_update, _('If checked, allow ' \
'to restore database from an older version.'))
self.tooltips.set_tip(self.check_update, _('Check for an automatic ' \
'database update after restoring a database from a previous ' \
'Tryton version.'))
self.check_update.set_active(True)
table.attach(self.check_update, 1, 3, 5, 6, yoptions=gtk.FILL)
# Buttons and events