Summary:
The code of making buttons buffer is away from related codes.
@fix
Reviewers: Hermet, Jaehyun_Cho, jpeg, raster, cedric
Subscribers: Blackmole
Differential Revision: https://phab.enlightenment.org/D4133
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
}
}
- snprintf(buf, sizeof(buf), "buttons%i", sd->last_button_number);
if (!sd->action_area)
{
sd->action_area = elm_layout_add(sd->main_layout);
_visuals_set(obj);
}
+ snprintf(buf, sizeof(buf), "buttons%i", sd->last_button_number);
snprintf(style, sizeof(style), "popup/%s", elm_widget_style_get(obj));
if (!elm_layout_theme_set(sd->action_area, "popup", buf, style))
CRI("Failed to set layout!");