This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository efm2.
View the commit online.
commit 0caaa1b8c812e94733b5be1f002f8f96fa869755
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
AuthorDate: Sat Mar 1 10:40:19 2025 +0000
fix efm test window icon
---
src/efm/main.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/efm/main.c b/src/efm/main.c
index 3a6bc4b..6cf91f6 100644
--- a/src/efm/main.c
+++ b/src/efm/main.c
@@ -84,7 +84,7 @@ _cb_header_change(void *data, Evas_Object *obj EINA_UNUSED,
EAPI_MAIN int
elm_main(int argc, char **argv)
{
- const char *path;
+ const char *path, *icon;
Evas_Object *o, *win, *sc, *efm, *bx, *bx2, *par;
char buf[PATH_MAX];
@@ -110,15 +110,15 @@ elm_main(int argc, char **argv)
elm_win_role_set(o, "efm_win_files");
elm_win_autodel_set(o, EINA_TRUE);
- /*
- ic = o = evas_object_image_add(evas_object_evas_get(win));
- icon = efreet_icon_path_find(elm_config_icon_theme_get(),
- "inode-directory", 0);
- if (icon) printf("%s\n", icon);
- evas_object_image_file_set(o, icon, NULL);
- elm_win_icon_object_set(win, o);
- evas_object_show(o);
- */
+ o = elm_icon_add(win);
+ icon = efreet_icon_path_find(elm_config_icon_theme_get(),
+ "inode-directory", 128);
+ if (icon)
+ {
+ elm_image_file_set(o, icon, NULL);
+ elm_win_icon_object_set(win, o);
+ }
+ else evas_object_del(o);
bx = o = elm_box_add(win);
evas_object_size_hint_fill_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.