www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit d1fd3cde13cc75814299bd972916f1295485090e
parent 136c47be5f936a20f03f80784d989558a95c602f
Author: Simon Kornblith <simon@simonster.com>
Date:   Thu, 20 Aug 2009 08:25:01 +0000

activate Firefox by bundle identifier


Diffstat:
Mchrome/content/zotero/xpcom/integration.js | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js @@ -1,9 +1,10 @@ /* ***** BEGIN LICENSE BLOCK ***** - Copyright (c) 2009 Center for History and New Media + Copyright (c) 2009 Zotero + Center for History and New Media George Mason University, Fairfax, Virginia, USA - http://chnm.gmu.edu + http://zotero.org This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -168,7 +169,7 @@ Zotero.Integration = new function() { var proc = Components.classes["@mozilla.org/process/util;1"]. createInstance(Components.interfaces.nsIProcess); proc.init(_osascriptFile); - proc.run(false, ['-e', 'tell application "Firefox" to activate'], 2); + proc.run(false, ['-e', 'tell application id "org.mozilla.firefox" to activate'], 2); } } }