Commit d4292cf1 authored by Michael Terry's avatar Michael Terry

leave window up when we just tested the restore and asked for the password

parent 0f7b4257
......@@ -91,8 +91,11 @@ public class AssistantBackup : AssistantOperation
else {
set_page_title(page, _("Backup Finished"));
// Also leave ourselves up if we just finished a restore test.
if (nagged)
summary_label.label = _("Your files were successfully backed up and tested.");
// If we don't have a special message to show the user, just bail.
if (!detail_widget.get_visible())
else if (!detail_widget.get_visible())
Idle.add(() => {do_close(); return false;});
......@@ -52,6 +52,7 @@ public abstract class AssistantOperation : Assistant
Gtk.CheckButton encrypt_remember;
protected Gtk.Widget password_page {get; private set;}
protected Gtk.Widget nag_page {get; private set;}
protected bool nagged;
List<Gtk.Widget> first_password_widgets;
MainLoop password_ask_loop;
MainLoop password_find_loop;
......@@ -839,6 +840,7 @@ public abstract class AssistantOperation : Assistant
else {
nagged = true;
// pause until we can provide password by entering new main loop
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment