diff options
author | Tomas Popela <tpopela@redhat.com> | 2013-09-12 21:29:58 +0800 |
---|---|---|
committer | Tomas Popela <tpopela@redhat.com> | 2013-09-12 21:29:58 +0800 |
commit | 68f27ce0c8a3ed44d1f1105970cc68326df6bad3 (patch) | |
tree | cad3537983c28b85223ebb171301df1d8674f5e0 /e-util/e-web-view.h | |
parent | b3fb5dfc8128fd903e702beeb96eae33de8aa993 (diff) | |
download | gsoc2013-evolution-68f27ce0c8a3ed44d1f1105970cc68326df6bad3.tar gsoc2013-evolution-68f27ce0c8a3ed44d1f1105970cc68326df6bad3.tar.gz gsoc2013-evolution-68f27ce0c8a3ed44d1f1105970cc68326df6bad3.tar.bz2 gsoc2013-evolution-68f27ce0c8a3ed44d1f1105970cc68326df6bad3.tar.lz gsoc2013-evolution-68f27ce0c8a3ed44d1f1105970cc68326df6bad3.tar.xz gsoc2013-evolution-68f27ce0c8a3ed44d1f1105970cc68326df6bad3.tar.zst gsoc2013-evolution-68f27ce0c8a3ed44d1f1105970cc68326df6bad3.zip |
Bug #706008 - Workaround gnome-shell style change on focus change
Avoid redrawing (thus loosing the selection and scroll position) of
preview window on style change by defining the colors through CSS styles.
On style change we just update the CSS color definitions and preview will
update itself without redraw.
Diffstat (limited to 'e-util/e-web-view.h')
-rw-r--r-- | e-util/e-web-view.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/e-util/e-web-view.h b/e-util/e-web-view.h index 2f99b7a248..51826a7326 100644 --- a/e-util/e-web-view.h +++ b/e-util/e-web-view.h @@ -195,11 +195,14 @@ void e_web_view_request (EWebView *web_view, GInputStream * e_web_view_request_finish (EWebView *web_view, GAsyncResult *result, GError **error); - void e_web_view_install_request_handler (EWebView *web_view, GType handler_type); - +void e_web_view_add_css_rule_into_style_sheet + (EWebView *view, + const gchar *style_sheet_id, + const gchar *selector, + const gchar *style); G_END_DECLS #endif /* E_WEB_VIEW_H */ |