Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/ibar


Modified Files:
        e_mod_main.c 


Log Message:


for now dont check valid exe BUt use the call

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/ibar/e_mod_main.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -3 -r1.77 -r1.78
--- e_mod_main.c        27 Sep 2005 03:57:03 -0000      1.77
+++ e_mod_main.c        28 Sep 2005 03:44:31 -0000      1.78
@@ -335,18 +335,21 @@
               {
                  IBar_Icon *ic;
 
-                 ic = _ibar_icon_new(ibb, a);
-                 if (ic)
+                 if (e_app_valid_exe_get(a))
                    {
-                      for (ll = ib->apps->subapps; ll; ll = ll->next)
+                      ic = _ibar_icon_new(ibb, a);
+                      if (ic)
                         {
-                           E_App *a2;
-
-                           a2 = ll->data;
-                           ic = _ibar_icon_find(ibb, a2);
-                           if (ic) _ibar_icon_reorder_after(ic, NULL);
+                           for (ll = ib->apps->subapps; ll; ll = ll->next)
+                             {
+                                E_App *a2;
+                                
+                                a2 = ll->data;
+                                ic = _ibar_icon_find(ibb, a2);
+                                if (ic) _ibar_icon_reorder_after(ic, NULL);
+                             }
+                           _ibar_bar_frame_resize(ibb);
                         }
-                      _ibar_bar_frame_resize(ibb);
                    }
               }
             break;
@@ -517,7 +520,10 @@
             IBar_Icon *ic;
 
             a = l->data;
-            ic = _ibar_icon_new(ibb, a);
+            if (e_app_valid_exe_get(a))
+              {
+                 ic = _ibar_icon_new(ibb, a);
+              }
          }
      }
    ibb->align_req = 0.5;




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to