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
This commit is contained in:
Davide Andreoli 2009-03-30 14:31:54 +00:00
parent f71eea73b2
commit 0f1775c8e8
1 changed files with 2 additions and 0 deletions

View File

@ -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)