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.
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'
let cmd = 'empathy-accounts --select-account=' +
let app_info = Gio.app_info_create_from_commandline(cmd, null, 0);
app_info.launch([], global.create_app_launch_context());
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