From 0f1775c8e87458d0d5d1d670fe4883ccccce4685 Mon Sep 17 00:00:00 2001 From: Davide Andreoli Date: Mon, 30 Mar 2009 14:31:54 +0000 Subject: [PATCH] Attach the fm object pointer to the menu generated from the efm. So you can read the fm object if you hook into the menu. SVN revision: 39803 --- src/bin/e_fm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index 973125a63..88a98fd6e 100644 --- a/src/bin/e_fm.c +++ b/src/bin/e_fm.c @@ -7488,6 +7488,7 @@ _e_fm2_menu(Evas_Object *obj, unsigned int timestamp) if (!sd) return; mn = e_menu_new(); + e_object_data_set(E_OBJECT(mn), obj); e_menu_category_set(mn, "e/fileman/action"); if (sd->icon_menu.replace.func) @@ -7646,6 +7647,7 @@ _e_fm2_icon_menu(E_Fm2_Icon *ic, Evas_Object *obj, unsigned int timestamp) sd = ic->sd; mn = e_menu_new(); + e_object_data_set(E_OBJECT(mn), obj); e_menu_category_set(mn, "e/fileman/action"); if (sd->icon_menu.replace.func)