summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2013-09-08 20:37:33 +0200
committerBoris Faure <billiob@gmail.com>2013-09-08 20:37:33 +0200
commit6bfac4be48c69eec890db80364b3ed540f929b30 (patch)
tree57868d056dab83889a84c3168b55f01e8a55258d
parent2dc337428a45e0c8cf5dd44f3f3cf0af7c828af9 (diff)
forgot to remove some code
-rw-r--r--src/bin/options_theme.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/bin/options_theme.c b/src/bin/options_theme.c
index 49ab86b..8903d2b 100644
--- a/src/bin/options_theme.c
+++ b/src/bin/options_theme.c
@@ -61,17 +61,12 @@ _cb_op_theme_sel(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUS
61{ 61{
62 Theme *t = data; 62 Theme *t = data;
63 Config *config = termio_config_get(t->term); 63 Config *config = termio_config_get(t->term);
64 Evas_Object *edje = termio_theme_get(t->term);
65 64
66 if ((config->theme) && (!strcmp(t->name, config->theme))) 65 if ((config->theme) && (!strcmp(t->name, config->theme)))
67 return; 66 return;
68 67
69 eina_stringshare_replace(&(config->theme), t->name); 68 eina_stringshare_replace(&(config->theme), t->name);
70 config_save(config, NULL); 69 config_save(config, NULL);
71 if (!theme_apply(edje, config, "terminology/background"))
72 ERR("Couldn't find terminology theme!");
73 colors_term_init(termio_textgrid_get(t->term), edje);
74 termio_config_set(t->term, config);
75 change_theme(termio_win_get(t->term), config); 70 change_theme(termio_win_get(t->term), config);
76} 71}
77 72