diff options
Diffstat (limited to 'restore.py')
-rw-r--r-- | restore.py | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -544,6 +544,7 @@ class RestoreActivity(activity.Activity): """Set path to bundle to restore.""" self._path = file_path self._no_bundle_warning.hide() + self._instruction.show() self._restore_button.set_sensitive(True) def write_file(self, file_path): @@ -569,9 +570,20 @@ class RestoreActivity(activity.Activity): self._no_bundle_warning = gtk.Label(warning.encode('utf-8')) self._no_bundle_warning.set_line_wrap(True) self._no_bundle_warning.connect('size-allocate', label_size_allocate) + self._no_bundle_warning.show() vbox.pack_start(self._no_bundle_warning, True) + + instruction = _('Press the button to restore entries from the' + ' bundle to the Journal. Only entries in the bundle' + ' that are not in the Journal or are newer than what' + ' is in the Journal will be restored.') + self._instruction = gtk.Label(instruction.encode('utf-8')) + self._instruction.set_line_wrap(True) + self._instruction.connect('size-allocate', label_size_allocate) + self._instruction.hide() + vbox.pack_start(self._instruction, True) self.set_canvas(vbox) - vbox.show_all() + vbox.show() def _setup_toolbar(self): if pre_086_toolbars: |