* src/client/application/geary-controller.vala (GearyController::open_async): Load the app script for ClientWebView at startup. * src/client/components/client-web-view.vala (ClientWebView::ClientWebView): Ensure we actually have a UserContentManager instance to work with, add the app script to the manager for the instance. (ClientWebView::load_scripts): Actually load client-web-view.js. (ClientWebView::load_user_stylesheet): Helper method for this class and subsclasses for doing the actual script load from the app. * ui/client-web-view.js: Add boilerplaye for new file. * ui/CMakeLists.txt: Include client-web-view.js.
7 lines
203 B
JavaScript
7 lines
203 B
JavaScript
/*
|
|
* Copyright 2016 Michael Gratton <mike@vee.net>
|
|
*
|
|
* This software is licensed under the GNU Lesser General Public License
|
|
* (version 2.1 or later). See the COPYING file in this distribution.
|
|
*/
|
|
|