diff options
author | Milan Crha <mcrha@redhat.com> | 2014-07-07 18:51:41 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2014-07-07 18:51:41 +0800 |
commit | 50bda1bad222082488d3d9bc9fe1d0fb3867e974 (patch) | |
tree | 27042fc0a39e4a7f79d920bae88cb29aa5677d10 /e-util/e-cell.h | |
parent | 534864b39850ea2354b87419da6dc77538867756 (diff) | |
download | gsoc2013-evolution-50bda1bad222082488d3d9bc9fe1d0fb3867e974.tar gsoc2013-evolution-50bda1bad222082488d3d9bc9fe1d0fb3867e974.tar.gz gsoc2013-evolution-50bda1bad222082488d3d9bc9fe1d0fb3867e974.tar.bz2 gsoc2013-evolution-50bda1bad222082488d3d9bc9fe1d0fb3867e974.tar.lz gsoc2013-evolution-50bda1bad222082488d3d9bc9fe1d0fb3867e974.tar.xz gsoc2013-evolution-50bda1bad222082488d3d9bc9fe1d0fb3867e974.tar.zst gsoc2013-evolution-50bda1bad222082488d3d9bc9fe1d0fb3867e974.zip |
Replace GtkStyle usages with GtkStyleContext
This makes evolution depend on theme-defined named colors, namely:
theme_bg_color
theme_base_color
theme_fg_color
theme_text_color
theme_selected_bg_color
theme_selected_fg_color
theme_unfocused_selected_bg_color
theme_unfocused_selected_fg_color
If it's not defined, then a fallback color is used, in the worse case
one of the fallbacks defined in evolution itself.
Diffstat (limited to 'e-util/e-cell.h')
-rw-r--r-- | e-util/e-cell.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/e-util/e-cell.h b/e-util/e-cell.h index 8d5e306c79..7a764c021e 100644 --- a/e-util/e-cell.h +++ b/e-util/e-cell.h @@ -193,8 +193,7 @@ struct _ECellClass { gchar * (*get_bg_color) (ECellView *ecell_view, gint row); - void (*style_set) (ECellView *ecell_view, - GtkStyle *previous_style); + void (*style_updated) (ECellView *ecell_view); }; GType e_cell_get_type (void) G_GNUC_CONST; @@ -249,8 +248,7 @@ gboolean e_cell_max_width_by_row_implemented (ECellView *ecell_view); gchar * e_cell_get_bg_color (ECellView *ecell_view, gint row); -void e_cell_style_set (ECellView *ecell_view, - GtkStyle *previous_style); +void e_cell_style_updated (ECellView *ecell_view); void e_cell_focus (ECellView *ecell_view, gint model_col, |