1# Orca 2# 3# Copyright 2005-2008 Sun Microsystems Inc. 4# 5# This library is free software; you can redistribute it and/or 6# modify it under the terms of the GNU Lesser General Public 7# License as published by the Free Software Foundation; either 8# version 2.1 of the License, or (at your option) any later version. 9# 10# This library is distributed in the hope that it will be useful, 11# but WITHOUT ANY WARRANTY; without even the implied warranty of 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13# Lesser General Public License for more details. 14# 15# You should have received a copy of the GNU Lesser General Public 16# License along with this library; if not, write to the 17# Free Software Foundation, Inc., Franklin Street, Fifth Floor, 18# Boston MA 02110-1301 USA. 19 20"""Custom script for Mozilla.""" 21 22__id__ = "$Id$" 23__version__ = "$Revision$" 24__date__ = "$Date$" 25__copyright__ = "Copyright (c) 2005-2008 Sun Microsystems Inc." 26__license__ = "LGPL" 27 28import orca.scripts.toolkits.Gecko as Gecko 29 30class Script(Gecko.Script): 31 def __init__(self, app): 32 Gecko.Script.__init__(self, app) 33 34 # By default, don't present if Mozilla is not the active application. 35 # 36 self.presentIfInactive = False 37