Dear all,

In _item_select, some if conditional is not working as user intention.
always_select mode checking is reversed and no-select mode is not checked.
I add and fix it.
Thanks
Index: elementary/src/lib/elm_genlist.c
===================================================================
--- elementary/src/lib/elm_genlist.c    (리비전 69290)
+++ elementary/src/lib/elm_genlist.c    (작업 사본)
@@ -3509,6 +3509,7 @@
 _item_select(Elm_Gen_Item *it)
 {
    if ((it->generation < it->wd->generation) || (it->mode_set) ||
+       (it->select_mode == ELM_OBJECT_SELECT_MODE_NONE) ||
        (it->wd->select_mode == ELM_OBJECT_SELECT_MODE_NONE))
      return;
    if (!it->selected)
@@ -3516,7 +3517,7 @@
         it->selected = EINA_TRUE;
         it->wd->selected = eina_list_append(it->wd->selected, it);
      }
-   else if (it->wd->select_mode == ELM_OBJECT_SELECT_MODE_ALWAYS) return;
+   else if (it->wd->select_mode != ELM_OBJECT_SELECT_MODE_ALWAYS) return;
 
    evas_object_ref(WIDGET(it));
    it->walking++;
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to