telepathyClient: Pass the right amount of parameters
https://bugzilla.gnome.org/show_bug.cgi?id=682045
This commit is contained in:
parent
addb247c33
commit
a004ad6088
@ -1342,15 +1342,14 @@ const AccountNotification = new Lang.Class({
|
|||||||
case 'reconnect':
|
case 'reconnect':
|
||||||
// If it fails again, a new notification should pop up with the
|
// If it fails again, a new notification should pop up with the
|
||||||
// new error.
|
// new error.
|
||||||
account.reconnect_async(null, null);
|
account.reconnect_async(null);
|
||||||
break;
|
break;
|
||||||
case 'edit':
|
case 'edit':
|
||||||
let cmd = '/usr/bin/empathy-accounts'
|
let cmd = '/usr/bin/empathy-accounts'
|
||||||
+ ' --select-account=%s'
|
+ ' --select-account=%s'
|
||||||
.format(account.get_path_suffix());
|
.format(account.get_path_suffix());
|
||||||
let app_info = Gio.app_info_create_from_commandline(cmd, null, 0,
|
let app_info = Gio.app_info_create_from_commandline(cmd, null, 0);
|
||||||
null);
|
app_info.launch([], null);
|
||||||
app_info.launch([], null, null);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
this.destroy();
|
this.destroy();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user