aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2013-12-10 09:22:11 -0500
committerMike Blumenkrantz <zmike@samsung.com>2013-12-10 09:22:11 -0500
commita366561336d2ed218a5304b2ee3937ae2732c440 (patch)
tree0da53d78fce4021698117f756d50705eac08d45b /src
parentefm - pass events on icons. just say NO. it breaks them. (diff)
downloadenlightenment-a366561336d2ed218a5304b2ee3937ae2732c440.tar.gz
Revert "ensmallen efm icon event area"
Diffstat (limited to 'src')
-rw-r--r--src/bin/e_fm.c20
1 files changed, 4 insertions, 16 deletions
diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index e2c509a2d..f8812d54c 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -4795,26 +4795,14 @@ _e_fm2_icon_label_click(void *data, Evas_Object *obj __UNUSED__, const char *emi
static void
_e_fm2_icon_position(E_Fm2_Icon *ic)
{
- Eina_Bool list = _e_fm2_view_mode_get(ic->sd) == E_FM2_VIEW_MODE_LIST;
evas_object_move(ic->obj,
ic->sd->x + ic->x - ic->sd->pos.x,
ic->sd->y + ic->y - ic->sd->pos.y);
evas_object_resize(ic->obj, ic->w, ic->h);
- if (list)
- {
- /* only resize vertically for list view */
- evas_object_move(ic->rect,
- ic->sd->x + ic->x - ic->sd->pos.x,
- ic->sd->y + ic->y - ic->sd->pos.y + (0.1 * ic->h));
- evas_object_resize(ic->rect, ic->w, ic->h * 0.8);
- }
- else
- {
- evas_object_move(ic->rect,
- ic->sd->x + ic->x - ic->sd->pos.x + (0.1 * ic->w),
- ic->sd->y + ic->y - ic->sd->pos.y + (0.1 * ic->h));
- evas_object_resize(ic->rect, ic->w * 0.8, ic->h * 0.8);
- }
+ evas_object_move(ic->rect,
+ ic->sd->x + ic->x - ic->sd->pos.x,
+ ic->sd->y + ic->y - ic->sd->pos.y);
+ evas_object_resize(ic->rect, ic->w, ic->h);
}
static void