mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 07:30:54 +00:00
chart-layer: Redraw on css changes
Make sure we redraw it when system accent color changes.
This commit is contained in:
@ -58,6 +58,8 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
|||||||
gtk_style_context_lookup_color (style_context, "accent_fg_color", &accent_fg_color);
|
gtk_style_context_lookup_color (style_context, "accent_fg_color", &accent_fg_color);
|
||||||
gtk_style_context_lookup_color (style_context, "accent_bg_color", &accent_bg_color);
|
gtk_style_context_lookup_color (style_context, "accent_bg_color", &accent_bg_color);
|
||||||
G_GNUC_END_IGNORE_DEPRECATIONS
|
G_GNUC_END_IGNORE_DEPRECATIONS
|
||||||
|
|
||||||
|
gtk_widget_queue_draw (widget);
|
||||||
}
|
}
|
||||||
|
|
||||||
static SysprofSession *
|
static SysprofSession *
|
||||||
|
|||||||
Reference in New Issue
Block a user