Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

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


Modified Files:
        e_mod_main.c 


Log Message:
Add equals function for eapps

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/ibar/e_mod_main.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -3 -r1.75 -r1.76
--- e_mod_main.c        26 Sep 2005 09:13:44 -0000      1.75
+++ e_mod_main.c        26 Sep 2005 10:03:49 -0000      1.76
@@ -406,8 +406,6 @@
                  ic = _ibar_icon_find(ibb, a);
                  if (ic)
                    {
-                      Evas_List *l;
-                      
                       if (a->startup_notify)
                         {
                            edje_object_signal_emit(ic->icon_object, "start", 
"");
@@ -439,8 +437,6 @@
                       ic = _ibar_icon_find(ibb, a);
                       if (ic)
                         {
-                           Evas_List *l;
-                           
                            edje_object_signal_emit(ic->icon_object, "stop", 
"");
                            for (ll = ic->extra_icons; ll; ll = ll->next) 
edje_object_signal_emit(ll->data, "stop", "");
                            edje_object_signal_emit(ic->bg_object, "stop", "");
@@ -795,8 +791,7 @@
        IBar_Icon *ic;
 
        ic = l->data;
-       if ((ic->app == a) || (ic->app->orig == a) ||
-           (ic->app == a->orig) || (ic->app->orig == a->orig)) 
+       if (e_app_equals(ic->app, a))
          return ic;
      }
    return NULL;




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to