summaryrefslogtreecommitdiff
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
parentb6f25509b0a184eeabcbdf5b46bfbf4969578e54 (diff)
Revert "ensmallen efm icon event area"
This reverts commit b7fb8e7f8d87e1ceb42f40b726aee1873ea61990.
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
4795static void 4795static void
4796_e_fm2_icon_position(E_Fm2_Icon *ic) 4796_e_fm2_icon_position(E_Fm2_Icon *ic)
4797{ 4797{
4798 Eina_Bool list = _e_fm2_view_mode_get(ic->sd) == E_FM2_VIEW_MODE_LIST;
4799 evas_object_move(ic->obj, 4798 evas_object_move(ic->obj,
4800 ic->sd->x + ic->x - ic->sd->pos.x, 4799 ic->sd->x + ic->x - ic->sd->pos.x,
4801 ic->sd->y + ic->y - ic->sd->pos.y); 4800 ic->sd->y + ic->y - ic->sd->pos.y);
4802 evas_object_resize(ic->obj, ic->w, ic->h); 4801 evas_object_resize(ic->obj, ic->w, ic->h);
4803 if (list) 4802 evas_object_move(ic->rect,
4804 { 4803 ic->sd->x + ic->x - ic->sd->pos.x,
4805 /* only resize vertically for list view */ 4804 ic->sd->y + ic->y - ic->sd->pos.y);
4806 evas_object_move(ic->rect, 4805 evas_object_resize(ic->rect, ic->w, ic->h);
4807 ic->sd->x + ic->x - ic->sd->pos.x,
4808 ic->sd->y + ic->y - ic->sd->pos.y + (0.1 * ic->h));
4809 evas_object_resize(ic->rect, ic->w, ic->h * 0.8);
4810 }
4811 else
4812 {
4813 evas_object_move(ic->rect,
4814 ic->sd->x + ic->x - ic->sd->pos.x + (0.1 * ic->w),
4815 ic->sd->y + ic->y - ic->sd->pos.y + (0.1 * ic->h));
4816 evas_object_resize(ic->rect, ic->w * 0.8, ic->h * 0.8);
4817 }
4818} 4806}
4819 4807
4820static void 4808static void