More work on the buttons
This commit is contained in:
@@ -123,3 +123,17 @@ ecdb_strip_next_argument(const char *strip)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void
|
||||
ecdb_button_icon_swallow(Evas *e, Evas_Object *b, const char *iname)
|
||||
{
|
||||
Evas_Object *icon;
|
||||
|
||||
icon = evas_object_image_add(e);
|
||||
|
||||
/* FIXME WRONG HERE */
|
||||
evas_object_image_file_set(icon, PACKAGE_DATA_DIR"/themes/default.edj",
|
||||
iname);
|
||||
edje_object_part_swallow(b, "icon", icon);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user