Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_int_menus.c 


Log Message:


dont keep adding clients once the menu has stuff

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_menus.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- e_int_menus.c       4 Jan 2005 01:49:21 -0000       1.17
+++ e_int_menus.c       4 Jan 2005 07:16:24 -0000       1.18
@@ -157,7 +157,6 @@
 
    m = e_menu_new();
    e_menu_pre_activate_callback_set(m, _e_int_menus_clients_pre_cb, NULL);
-   
    return m;
 }
 
@@ -389,7 +388,8 @@
    E_Menu *root;
 
    if (m->realized) return;
-
+   if (m->items) return;
+   
    root = e_menu_root_get(m);
    /* get the current containers clients */
    if (root && root->con)




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to