[elm_popup/TC]: Review comments and commit message fixed.
[elm_navigationbar_ex]: Warning fixed
[elm_popup/TC]: Test case build fail issue fixed.
Change-Id: I34e2174539a3b90887a684c8f84fa611fcfe942b
main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
evas_object_show(main_win);
popup = elm_popup_add(main_win);
- Evas_Object *icon = elm_icon_add(popup);
- snprintf(buf, sizeof(buf), "%s/00_volume_icon.png", ICON_DIR);
- elm_icon_file_set(icon, buf, NULL);
- evas_object_size_hint_aspect_set(icon, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
- elm_icon_scale_set(icon, 1, 1);
+ Evas_Object *content = elm_button_add(popup);
+ evas_object_show(content);
- elm_popup_content_set(popup,icon);
+ elm_popup_content_set(popup,content);
evas_object_show(popup);
}
#include <tet_api.h>
#include <Elementary.h>
-
+#define ICON_DIR "usr/share/elementary/images"
// Definitions
// For checking the result of the positive test case.
#define TET_CHECK_PASS(x1, y...) \
static void startup(void)
{
+ char buf[PATH_MAX];
tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
elm_init(0, NULL);
main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
evas_object_show(main_win);
popup = elm_popup_add(main_win);
Evas_Object *icon = elm_icon_add(popup);
- snprintf(buf, sizeof(buf), "%s/00_volume_icon.png", ICON_DIR);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
elm_icon_file_set(icon, buf, NULL);
evas_object_size_hint_aspect_set(icon, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
elm_icon_scale_set(icon, 1, 1);
#include <tet_api.h>
#include <Elementary.h>
-#define ICON_DIR "usr/share/beat_winset_test/icon"
+#define ICON_DIR "usr/share/elementary/images"
// Definitions
// For checking the result of the positive test case.
{
Evas_Object *icon = elm_icon_add(popup);
- snprintf(buf, sizeof(buf), "%s/00_volume_icon.png", ICON_DIR);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
elm_icon_file_set(icon, buf, NULL);
evas_object_size_hint_aspect_set(icon, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
elm_icon_scale_set(icon, 1, 1);
{
Evas_Object *icon = elm_icon_add(popup);
- snprintf(buf, sizeof(buf), "%s/00_volume_icon.png", ICON_DIR);
+ snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
elm_icon_file_set(icon, buf, NULL);
evas_object_size_hint_aspect_set(icon, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
elm_icon_scale_set(icon, 1, 1);
ittop = eina_list_last(wd->stack)->data;\r
if (ittop != wd->top)\r
{\r
- Evas_Object *o, *o1, *o2;\r
+ Evas_Object *o1, *o2;\r
const char *onshow, *onhide;\r
\r
if (wd->top)\r
EAPI void\r
elm_navigationbar_ex_item_promote(Elm_Navigationbar_ex_Item* item)\r
{\r
- if (!item) return NULL;\r
+ if (!item) return;\r
_item_promote(item);\r
}\r
\r