Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_int_config_apps_order.c 


Log Message:
Some added trapping in case desktops is empty.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_apps_order.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_int_config_apps_order.c   6 Apr 2007 09:41:22 -0000       1.3
+++ e_int_config_apps_order.c   6 Apr 2007 10:32:49 -0000       1.4
@@ -224,7 +224,13 @@
    Evas *evas;
    Evas_Coord w;
    Evas_List *l;
-   
+
+   if ((!once->order) || (!once->order->desktops)) 
+     {
+       e_widget_min_size_set(cfdata->o_list, 100, 200);
+       return;
+     }
+
    evas = evas_object_evas_get(cfdata->o_list);
    evas_event_freeze(evas);
    edje_freeze();



-------------------------------------------------------------------------
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