 ______________________________
 Search Bar Plugin for K-Meleon
 
 Version 0.2.2
 Copyright (c) 2004 Romain Vallet
 Copyright (c) 2006-2007 Johannes Sasongko <sasongko gmail com>
 
 
 
 Information
 
 This plugin adds a search bar to K-Meleon.
 
 
 Changes in this version
 
 
 2007-09-16 - Version 0.2.2
    * Fix: custom search engine name is never used.
 
 2007-09-13 - Version 0.2.1
    * Fix Update not working.
 
 2007-09-08 - Version 0.2
    * Allow overriding search engine name and URL using the prefs
      "kmeleon.plugins.searchbar.custom.{enable, name, url}".
    * Change default rebar title to a generic text ("Search:").
    * Add Firefox-like effect: when search bar is empty, display the search
      engine name, faded.
    * Add Update command, which updates the displayed engine name.
    * Select all text when focused using the Focus command.
 
 
 Installation
 
 Copy searchbar.dll to <K-Meleon directory>\kplugins
 Typically: C:\Program Files\K-Meleon\kplugins
 
 
 Usage
 
 Type a search term in the text field, hit Enter and the search is launched.
 The search engine used is the standard K-Meleon search engine (i.e. from the
 "kmeleon.general.searchEngine" pref) unless the custom setting is used (see
 below).
 
 Commands:
 - searchbar(Focus) -- set focus to the search bar in accel.cfg
 - searchbar(Update) -- immediately update the displayed search engine name.
   This is a hack to get around the plugin's inability to watch for changes in
   the prefs.
 
 Prefs:
 - kmeleon.plugins.searchbar.title -- the text before the search bar.
 - kmeleon.plugins.searchbar.custom.enable -- override K-Meleon's search engine
 - kmeleon.plugins.searchbar.custom.name -- custom search engine name
 - kmeleon.plugins.searchbar.custom.URL -- custom search engine URL
 
 The pref "kmeleon.plugins.searchbar.openurl" can be used to change where the
 search is displayed. Possible choices:
 - ID_OPEN_LINK: current layer/window (default)
 - ID_OPEN_LINK_IN_NEW_WINDOW: new foreground window
 - ID_OPEN_LINK_IN_BACKGROUND: new background window
 - layers(OpenURL): new foreground layer
 - layers(OpenURLBg): new background layer
 
 
 Known bugs and limitations
 
 * The search string length is limited. Will not be fixed unless there is a real
   need.
 
 
 To do
 
 * Use the prefs observer mechanism.
 * Support for selecting from several search engines.
 
 
 Contact
 
 Johannes Sasongko <sasongko gmail com>
 This plugin and its source code can be downloaded here:
    http://www.geocities.com/rmn_km/kmeleon/searchbar.html
