Fix ag_window_set_theme()
It didn’t actually set the display theme in the AgWindow object
This commit is contained in:
parent
3c5582d5e2
commit
c36ef58946
@ -1396,10 +1396,13 @@ ag_window_set_theme(AgWindow *window, AgDisplayTheme *theme)
|
||||
{
|
||||
gchar *css,
|
||||
*css_final;
|
||||
AgWindowPrivate *priv = ag_window_get_instance_private(window);
|
||||
|
||||
g_debug("Setting theme to %s", (theme) ? theme->name : "no theme");
|
||||
ag_window_clear_style_sheets(window);
|
||||
|
||||
priv->theme = theme;
|
||||
|
||||
// Add the default style sheet
|
||||
ag_window_add_style_sheet(
|
||||
window,
|
||||
|
Loading…
Reference in New Issue
Block a user