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 a5c6d841f648e8789542116f48fb7094f7518112
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
AuthorDate: Wed Jun 28 05:24:16 2023 +0100
more work on moving code forward
---
src/efm/efm_util.c | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/src/efm/efm_util.c b/src/efm/efm_util.c
index a41dfec..f746e40 100644
--- a/src/efm/efm_util.c
+++ b/src/efm/efm_util.c
@@ -1086,6 +1086,8 @@ _icon_object_add(Icon *icon, Smart_Data *sd, Evas *e, const char *theme_edj_file
icon->o_base = o = edje_object_add(e);
if (sd->config.view_mode == EFM_VIEW_MODE_ICONS)
edje_object_file_set(o, theme_edj_file, "e/fileman/default/icon/fixed");
+ else if (sd->config.view_mode == EFM_VIEW_MODE_ICONS_CUSTOM)
+ edje_object_file_set(o, theme_edj_file, "e/fileman/desktop/icon/fixed");
else if (sd->config.view_mode == EFM_VIEW_MODE_LIST)
{
if (num & 0x1)
@@ -1248,18 +1250,15 @@ _icon_object_add(Icon *icon, Smart_Data *sd, Evas *e, const char *theme_edj_file
if ((mode & S_IXOTH)) edje_object_signal_emit(o2, "e,perm,other,execute", "e");
edje_object_message_signal_process(o2);
}
- if (sd->config.view_mode == EFM_VIEW_MODE_LIST_DETAILED)
+ for (i = 2; i < 5; i++)
{
- for (i = 2; i < 5; i++)
- {
- icon->o_list_detail_swallow[i] = o2 =
- evas_object_rectangle_add(e);
- evas_object_color_set(o2, 0, 0, 0, 0);
- evas_object_size_hint_min_set
- (o2, sd->detail_min_w[i] * _scale_get(sd), 0);
- snprintf(buf2, sizeof(buf2), "e.swallow.detail%i", i + 1);
- edje_object_part_swallow(icon->o_base, buf2, o2);
- }
+ icon->o_list_detail_swallow[i] = o2 =
+ evas_object_rectangle_add(e);
+ evas_object_color_set(o2, 0, 0, 0, 0);
+ evas_object_size_hint_min_set
+ (o2, sd->detail_min_w[i] * _scale_get(sd), 0);
+ snprintf(buf2, sizeof(buf2), "e.swallow.detail%i", i + 1);
+ edje_object_part_swallow(icon->o_base, buf2, o2);
}
}
edje_object_preload(o, EINA_FALSE);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.