Commit 68ba5fa9 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Fix popup menu issues on Z1

... by removing a workaround made for a previous version of the Z1.
parent 9459ccb6
......@@ -854,13 +854,6 @@ fs_more_player_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
/* Add the more list in the popup */
popup_list = audio_player_create_popup(mpd); //FIXME
if (application_get_system_version() >= TIZEN_VERSION_2_4_0)
{
// Workaround: popup menu are blank when shown in landscape
// on devices running Tizen 2.4 and compiled with the 2.3 SDK.
evas_object_size_hint_min_set(popup_list, 600, 100);
}
elm_object_content_set(mpd->popup, popup_list);
evas_object_show(popup_list);
/* */
......
......@@ -141,13 +141,6 @@ popup_menu_orient_add(popup_menu *menu, Elm_Popup_Orient orient, void *data, Eva
elm_genlist_mode_set(genlist, ELM_LIST_COMPRESS);
elm_scroller_content_min_limit(genlist, EINA_TRUE, EINA_TRUE);
if (application_get_system_version() >= TIZEN_VERSION_2_4_0)
{
// Workaround: popup menu are blank when shown in landscape
// on devices running Tizen 2.4 and compiled with the 2.3 SDK.
evas_object_size_hint_min_set(genlist, 600, 100);
}
evas_object_show(genlist);
for (index = index_visible = 0; menu[index].title != NULL; index++) {
......
......@@ -286,13 +286,6 @@ settings_popup_add(settings_item *menu, int menu_len, Settings_menu_callback glo
elm_scroller_content_min_limit(genlist, EINA_TRUE, EINA_TRUE);
if (application_get_system_version() >= TIZEN_VERSION_2_4_0)
{
// Workaround: popup menu are blank when shown in landscape
// on devices running Tizen 2.4 and compiled with the 2.3 SDK.
evas_object_size_hint_min_set(genlist, 600, 100);
}
evas_object_smart_callback_add(popup, "block,clicked", popup_close_cb, NULL);
elm_object_content_set(popup, genlist);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment