Commit 2679be9d authored by Giovanni Campagna's avatar Giovanni Campagna
Browse files

Telepathy: lookup PATH when launching empathy-accounts

It might be installed only in the jhbuild path.

https://bugzilla.gnome.org/show_bug.cgi?id=691553
parent 4d59368c
......@@ -1346,9 +1346,8 @@ const AccountNotification = new Lang.Class({
this.connect('action-invoked', Lang.bind(this, function(self, action) {
switch (action) {
case 'view':
let cmd = '/usr/bin/empathy-accounts'
+ ' --select-account=%s'
.format(account.get_path_suffix());
let cmd = 'empathy-accounts --select-account=' +
account.get_path_suffix();
let app_info = Gio.app_info_create_from_commandline(cmd, null, 0);
app_info.launch([], global.create_app_launch_context());
break;
......
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