Elementary: Fixed the way elm_scrolled_entry_cursor_end_set worked. It now just queries the show region which is mostly good, until we'll really define what we want to be shown.

SVN revision: 56283
This commit is contained in:
Tom Hacohen 2011-01-24 10:50:33 +00:00
parent 243a408200
commit 5871b29ea1
1 changed files with 1 additions and 1 deletions

View File

@ -1010,8 +1010,8 @@ elm_scrolled_entry_cursor_end_set(Evas_Object *obj)
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
int x, y, w, h;
elm_scroller_region_get(wd->scroller, &x, &y, &w, &h);
elm_entry_cursor_end_set(wd->entry);
elm_widget_show_region_get(wd->entry, &x, &y, &w, &h);
elm_scroller_region_show(wd->scroller, x, y, w, h);
}