elementary/naviframe - don't do it if the display mode are exactly same.

since the on_obj_size_hints_changed are called in various case(hint changed, display mode changed),

it needs to check.



SVN revision: 83053
This commit is contained in:
ChunEon Park 2013-01-22 04:46:28 +00:00
parent 5f655fecae
commit a945ba944e
1 changed files with 2 additions and 0 deletions

View File

@ -1156,6 +1156,8 @@ _on_obj_size_hints_changed(void *data __UNUSED__, Evas *e __UNUSED__,
if (!it) return;
dispmode = evas_object_size_hint_display_mode_get(obj);
if (sd->dispmode == dispmode) return;
sd->dispmode = dispmode;
switch (dispmode)