forgot to remove some code
This commit is contained in:
parent
2dc337428a
commit
6bfac4be48
|
@ -61,17 +61,12 @@ _cb_op_theme_sel(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUS
|
|||
{
|
||||
Theme *t = data;
|
||||
Config *config = termio_config_get(t->term);
|
||||
Evas_Object *edje = termio_theme_get(t->term);
|
||||
|
||||
if ((config->theme) && (!strcmp(t->name, config->theme)))
|
||||
return;
|
||||
|
||||
eina_stringshare_replace(&(config->theme), t->name);
|
||||
config_save(config, NULL);
|
||||
if (!theme_apply(edje, config, "terminology/background"))
|
||||
ERR("Couldn't find terminology theme!");
|
||||
colors_term_init(termio_textgrid_get(t->term), edje);
|
||||
termio_config_set(t->term, config);
|
||||
change_theme(termio_win_get(t->term), config);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue