From 2679be9d974bbfc07b6828bfc9bb5584167bb87f Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Fri, 11 Jan 2013 15:56:28 +0100 Subject: [PATCH] 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 --- js/ui/components/telepathyClient.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js index 8ebcd2a41..440655c58 100644 --- a/js/ui/components/telepathyClient.js +++ b/js/ui/components/telepathyClient.js @@ -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;