forked from enlightenment/enlightenment
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:
parent
f71eea73b2
commit
0f1775c8e8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue