entrance: set the theme name without entrance_conf_set
This commit is contained in:
parent
84173fc511
commit
ef7bc14bcb
|
@ -176,7 +176,7 @@ _entrance_conf_theme_apply(void)
|
||||||
entrance_gui_background_get(&conf.bg.path, &conf.bg.group);
|
entrance_gui_background_get(&conf.bg.path, &conf.bg.group);
|
||||||
|
|
||||||
entrance_connect_conf_gui_send(&conf);
|
entrance_connect_conf_gui_send(&conf);
|
||||||
entrance_gui_conf_set(&conf);
|
entrance_gui_theme_name_set(conf.theme);
|
||||||
entrance_conf_changed();
|
entrance_conf_changed();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -525,10 +525,6 @@ entrance_gui_conf_set(const Entrance_Conf_Gui_Event *conf)
|
||||||
_gui->vkbd_enabled = conf->vkbd_enabled;
|
_gui->vkbd_enabled = conf->vkbd_enabled;
|
||||||
_gui->changed &= ENTRANCE_CONF_VKBD;
|
_gui->changed &= ENTRANCE_CONF_VKBD;
|
||||||
}
|
}
|
||||||
if (_gui->theme != conf->theme)
|
|
||||||
{
|
|
||||||
entrance_gui_theme_name_set(conf->theme);
|
|
||||||
}
|
|
||||||
_gui->changed = ~(ENTRANCE_CONF_NONE);
|
_gui->changed = ~(ENTRANCE_CONF_NONE);
|
||||||
_entrance_gui_update();
|
_entrance_gui_update();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue