From: Carsten Haitzler Date: Thu, 15 Feb 2001 23:00:51 +0000 (+0000) Subject: oops - missed some internal menu itme refernces... X-Git-Tag: submit/efl/20131021.015651~17119 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba4c6110bbcae01478e53a9c14355f24038463e8;p=platform%2Fupstream%2Fenlightenment.git oops - missed some internal menu itme refernces... SVN revision: 4225 --- diff --git a/src/view.c b/src/view.c index bbcb61d..0ed14ed 100644 --- a/src/view.c +++ b/src/view.c @@ -205,10 +205,10 @@ e_mouse_up(Eevent * ev) E_Menu_Item *menuitem; menu = e_menu_new(); - menu->pad.icon = 2; - menu->pad.state = 2; + e_menu_set_padding_icon(menu, 8); + e_menu_set_padding_state(menu, 8); menuitem = e_menu_item_new("Enlightenment "VERSION); - menuitem->icon = strdup(PACKAGE_DATA_DIR"/data/images/e_logo.png"); + e_menu_item_set_icon(menuitem, PACKAGE_DATA_DIR"/data/images/e_logo.png"); e_menu_add_item(menu, menuitem); } if (menu)