Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_shelf.c 


Log Message:
Fix occasional problem that caused a shelf reload from config dialog to 
reload the wrong shelf. It is possible to have shelf->id = 0 for first
shelf, so don't use list count for that one.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_shelf.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- e_shelf.c   20 Jul 2006 13:36:02 -0000      1.31
+++ e_shelf.c   27 Jul 2006 05:13:30 -0000      1.32
@@ -141,7 +141,7 @@
        evas_object_layer_set(es->o_event, layer);
        evas_object_layer_set(es->o_base, layer);
      }
-   if (id <= 0)
+   if (id < 0)
      es->id = evas_list_count(shelves);
    else
      es->id = id;



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to