elementary/elm_pager : When new content is pushed, clearing focus in
authorwoohyun <woohyun@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 29 Sep 2011 06:31:40 +0000 (06:31 +0000)
committerwoohyun <woohyun@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 29 Sep 2011 06:31:40 +0000 (06:31 +0000)
old content is enough.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@63654 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_pager.c

index 309af71..08cf733 100644 (file)
@@ -177,7 +177,7 @@ _eval_top(Evas_Object *obj)
         if (wd->oldtop)
           {
              if (elm_object_focus_get(wd->oldtop->content))
-               elm_object_focus_set(wd->top->content, EINA_TRUE);
+               elm_widget_focused_object_clear(wd->oldtop->content);
              if (wd->oldtop->popme)
                edje_object_signal_emit(o, "elm,action,show", "elm");
              else