fix file set for font preview to use config theme path return.
SVN revision: 72383
This commit is contained in:
parent
9568fb677f
commit
464b2986ed
|
@ -134,13 +134,11 @@ _cb_op_font_content_get(void *data, Evas_Object *obj, const char *part)
|
||||||
if (!strcmp(part, "elm.swallow.icon"))
|
if (!strcmp(part, "elm.swallow.icon"))
|
||||||
{
|
{
|
||||||
Evas_Object *o;
|
Evas_Object *o;
|
||||||
char buf[4096];
|
|
||||||
Config *config = termio_config_get(f->term);
|
Config *config = termio_config_get(f->term);
|
||||||
|
|
||||||
o = edje_object_add(evas_object_evas_get(obj));
|
o = edje_object_add(evas_object_evas_get(obj));
|
||||||
snprintf(buf, sizeof(buf), "%s/themes/%s",
|
edje_object_file_set(o, config_theme_path_get(config),
|
||||||
elm_app_data_dir_get(), config->theme);
|
"terminology/fontpreview");
|
||||||
edje_object_file_set(o, buf, "terminology/fontpreview");
|
|
||||||
edje_object_signal_callback_add(o, "edje,change,file", "edje",
|
edje_object_signal_callback_add(o, "edje,change,file", "edje",
|
||||||
_reload_theme, NULL);
|
_reload_theme, NULL);
|
||||||
evas_object_size_hint_min_set(o,
|
evas_object_size_hint_min_set(o,
|
||||||
|
|
Loading…
Reference in New Issue