summaryrefslogtreecommitdiff
path: root/src/bin/options_font.c
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-06-17 18:03:33 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-06-17 18:03:33 +0000
commit03e58cbad29454cfcc80039bfecf624e02da68f3 (patch)
treeff5df3828fb82c66d72dd4cd3cb0f282180b6181 /src/bin/options_font.c
parent7f0c9cdc47418a0a8e734acd4180af1a5a49800e (diff)
fix cursor and fontpreview when theme is an absolute path.
SVN revision: 72308
Diffstat (limited to 'src/bin/options_font.c')
-rw-r--r--src/bin/options_font.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/bin/options_font.c b/src/bin/options_font.c
index b2bb656..42f07c4 100644
--- a/src/bin/options_font.c
+++ b/src/bin/options_font.c
@@ -120,12 +120,9 @@ _cb_op_font_content_get(void *data, Evas_Object *obj, const char *part)
120 (!strcmp(part, "elm.swallow.end"))) 120 (!strcmp(part, "elm.swallow.end")))
121 { 121 {
122 Evas_Object *o; 122 Evas_Object *o;
123 char buf[4096]; 123
124
125 o = edje_object_add(evas_object_evas_get(obj)); 124 o = edje_object_add(evas_object_evas_get(obj));
126 snprintf(buf, sizeof(buf), "%s/themes/%s", 125 edje_object_file_set(o, config->theme, "terminology/fontpreview");
127 elm_app_data_dir_get(), config->theme);
128 edje_object_file_set(o, buf, "terminology/fontpreview");
129 evas_object_size_hint_min_set(o, 126 evas_object_size_hint_min_set(o,
130 40 * elm_config_scale_get(), 127 40 * elm_config_scale_get(),
131 40 * elm_config_scale_get()); 128 40 * elm_config_scale_get());