forked from enlightenment/enlightenment
E entry + scrollframe: Add rects as smart members.
This is a backport of 82360. I wrote clippers instead of rects there by mistake. This should fix some bugs (specifically with the .desktop file editing menu), and is just generally correct. SVN revision: 82361
This commit is contained in:
parent
fb86a363bd
commit
e1d1e56cbd
|
@ -1035,6 +1035,7 @@ _e_smart_add(Evas_Object *obj)
|
|||
evas_object_smart_member_add(o, obj);
|
||||
|
||||
o = evas_object_rectangle_add(evas_object_evas_get(obj));
|
||||
evas_object_smart_member_add(o, obj);
|
||||
sd->event_obj = o;
|
||||
evas_object_color_set(o, 0, 0, 0, 0);
|
||||
evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_WHEEL,
|
||||
|
|
|
@ -67,6 +67,7 @@ e_widget_entry_add(Evas *evas, char **text_location, void (*func) (void *data, v
|
|||
evas_object_repeat_events_set(o, EINA_TRUE);
|
||||
evas_object_color_set(o, 0, 0, 0, 0);
|
||||
e_widget_sub_object_add(obj, o);
|
||||
evas_object_smart_member_add(o, obj);
|
||||
evas_object_show(o);
|
||||
|
||||
evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN, _e_wid_focus_steal, obj);
|
||||
|
|
Loading…
Reference in New Issue