~ubuntu-branches/ubuntu/quantal/deja-dup/quantal-proposed

« back to all changes in this revision

Viewing changes to common/BackendU1.vala

  • Committer: Package Import Robot
  • Author(s): Michael Terry
  • Date: 2012-09-25 11:00:17 UTC
  • mfrom: (1.2.1) (68.1.3 quantal)
  • Revision ID: package-import@ubuntu.com-20120925110017-m66dbx25alx9ywmg
Tags: 24.0-0ubuntu1
* New upstream release
  - Updated translations

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
  public void run()
47
47
  {
48
48
    Idle.add(() => {
49
 
      call_but_quit_on_fail();
 
49
      call_but_quit_on_fail.begin();
50
50
      return false;
51
51
    });
52
52
    proxy.g_signal.connect(handle_dbus_signal);
153
153
 
154
154
  public override string get_location(ref bool as_root)
155
155
  {
 
156
    // The UI backend for duplicity needs to talk to our session dbus, but it
 
157
    // can't as root.
 
158
    as_root = false;
 
159
 
156
160
    var settings = get_settings(U1_ROOT);
157
161
    var folder = get_folder_key(settings, U1_FOLDER_KEY);
158
162
    return "u1+http://%s".printf(folder);
229
233
 
230
234
  void button_clicked()
231
235
  {
232
 
    sign_in();
 
236
    sign_in.begin();
233
237
  }
234
238
 
235
239
  void ask_password() {