~ubuntu-branches/ubuntu/precise/deja-dup/precise-updates

« back to all changes in this revision

Viewing changes to deja-dup/AssistantOperation.vala

  • Committer: Bazaar Package Importer
  • Author(s): Michael Terry
  • Date: 2010-01-10 10:03:06 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20100110100306-awjywmnuln6yusb9
Tags: upstream-13.5
Import upstream version 13.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
    }
133
133
    else {
134
134
      prefix = _("Scanning:");
135
 
      progress_label.label = _("Scanning...");
 
135
      progress_label.label = _("Scanning…");
136
136
      progress_file_label.label = "";
137
137
    }
138
138
 
405
405
    op.question.connect(show_question);
406
406
    op.secondary_desc_changed.connect(set_secondary_label);
407
407
    op.backend.mount_op = mount_op;
 
408
    op.backend.pause_op.connect(pause_op);
408
409
    
409
 
    status_icon = new StatusIcon(op, automatic);
410
 
    status_icon.activated.connect((s, t) => {toggle_window(t, true);});
 
410
    status_icon = new StatusIcon(this, op, automatic);
 
411
    status_icon.toggle_window.connect((s) => {toggle_window(0, true);});
411
412
    status_icon.hide_all.connect((s) => {hide_everything();});
412
413
 
413
414
    try {
582
583
    response.connect(stop_question);
583
584
    Gtk.main();
584
585
  }
 
586
 
 
587
  void pause_op(DejaDup.Backend back, string header, string msg)
 
588
  {
 
589
    // Basically a question without a response expected
 
590
    set_page_title(question_page, header);
 
591
    question_label.label = msg;
 
592
    interrupt(question_page, false);
 
593
    force_visible(false);
 
594
  }
585
595
}
586
596