summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2015-05-06 16:14:28 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2015-05-06 16:14:28 +0200
commit8938202fc833a17ebb27dd1040f53f4c63aac01c (patch)
tree6f03d52e7dc9860f8ba69be5b84efbd5a9c08b25
parent6c5b70728bde407b55c862a5045c53a13634d5cf (diff)
downloadelementary-8938202fc833a17ebb27dd1040f53f4c63aac01c.tar.gz
Revert "fileselector: Work around initial genlist size bug for release."
This reverts commit 64a4cf4c6847936f5074ad94bf9a8f2283609c3b. Was only a workaround for the release. Needs proper fixing in the 1.15 cycle now.
-rw-r--r--src/lib/elc_fileselector.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/lib/elc_fileselector.c b/src/lib/elc_fileselector.c
index 45a88dcb0..1ea2c01b9 100644
--- a/src/lib/elc_fileselector.c
+++ b/src/lib/elc_fileselector.c
@@ -1236,24 +1236,6 @@ _files_key_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, v
}
}
-/* FIXME: This is a dirty hack to avoid a broken layout on fileselector come up.
- * In some cases on some systems the genlist file view comes up with a height of
- * 10 and only resizes when interacted manually. This only papers over it for the
- * 1.14 release and will be removed from master directly afterwards. If we find
- * a solution we are able to backport this will also go away from the efl-1.14
- * stable branch. See T2367 for the full details.
- */
-static void
-_files_on_resize(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *o, void *event EINA_UNUSED)
-{
- Evas_Coord x, y, w, h;
-
- evas_object_geometry_get(o, &x, &y, &w, &h);
-
- if (h < 20)
- evas_object_resize(o, 394, 279);
-}
-
static Evas_Object *
_files_list_add(Evas_Object *obj)
{
@@ -1276,7 +1258,6 @@ _files_list_add(Evas_Object *obj)
evas_object_smart_callback_add(li, "expanded", _on_list_expanded, obj);
evas_object_smart_callback_add(li, "contracted", _on_list_contracted, obj);
evas_object_event_callback_add(li, EVAS_CALLBACK_KEY_DOWN, _files_key_down, obj);
- evas_object_event_callback_add(li, EVAS_CALLBACK_RESIZE, _files_on_resize, obj);
elm_widget_sub_object_add(obj, li);