summaryrefslogtreecommitdiff
path: root/src/bin/options_font.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-06-18 11:07:05 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-06-18 11:07:05 +0000
commit464b2986ed6b2f0ffb98cf106887e2676715e262 (patch)
tree6f87d382f086cc496c0e69a5601b4bfd44978e79 /src/bin/options_font.c
parent9568fb677ff230acb2aae7f0b87411a177999e7d (diff)
fix file set for font preview to use config theme path return.
SVN revision: 72383
Diffstat (limited to 'src/bin/options_font.c')
-rw-r--r--src/bin/options_font.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/bin/options_font.c b/src/bin/options_font.c
index fe5ca1f..09d4e18 100644
--- a/src/bin/options_font.c
+++ b/src/bin/options_font.c
@@ -134,13 +134,11 @@ _cb_op_font_content_get(void *data, Evas_Object *obj, const char *part)
134 if (!strcmp(part, "elm.swallow.icon")) 134 if (!strcmp(part, "elm.swallow.icon"))
135 { 135 {
136 Evas_Object *o; 136 Evas_Object *o;
137 char buf[4096];
138 Config *config = termio_config_get(f->term); 137 Config *config = termio_config_get(f->term);
139 138
140 o = edje_object_add(evas_object_evas_get(obj)); 139 o = edje_object_add(evas_object_evas_get(obj));
141 snprintf(buf, sizeof(buf), "%s/themes/%s", 140 edje_object_file_set(o, config_theme_path_get(config),
142 elm_app_data_dir_get(), config->theme); 141 "terminology/fontpreview");
143 edje_object_file_set(o, buf, "terminology/fontpreview");
144 edje_object_signal_callback_add(o, "edje,change,file", "edje", 142 edje_object_signal_callback_add(o, "edje,change,file", "edje",
145 _reload_theme, NULL); 143 _reload_theme, NULL);
146 evas_object_size_hint_min_set(o, 144 evas_object_size_hint_min_set(o,