Changeset 057a60864ad4…
Parent da95be84feda…
by
Changes to 2 files · Browse files at 057a60864ad4 Showing diff from parent da95be84feda Diff from another changeset...
@@ -552,6 +552,18 @@ btn.clicked.emit(False)
super(CustomPrompt, self).keyPressEvent(event)
+class BfilesPrompt(CustomPrompt):
+ def __init__(self, parent, files=None):
+ CustomPrompt.__init__(self, _('Confirm Add'),
+ _('Some of the files that you have selected are of a size '
+ 'over 10 MB. You may make more efficient use of disk space '
+ 'by adding these files as bfiles, which will store only the '
+ 'most recent revision of each file in your local repository, '
+ 'with older revisions available on the server. Do you wish '
+ 'to add these files as bfiles?'), parent,
+ (_('Add as &Bfiles'), _('Add as &Normal Files'), _('Cancel')),
+ 0, 2, files)
+
def setup_font_substitutions():
QFont.insertSubstitutions('monospace', ['monaco', 'courier new'])
|
Loading...