Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : apps/e

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


Modified Files:
        e_mod_main.c 


Log Message:
No more seggie if the icons change before they are shown.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/ibar/e_mod_main.c,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -3 -r1.148 -r1.149
--- e_mod_main.c        24 Sep 2006 13:37:37 -0000      1.148
+++ e_mod_main.c        29 Sep 2006 08:48:37 -0000      1.149
@@ -715,7 +715,8 @@
                  _ibar_icon_fill(ic);
               }
             _ibar_resize_handle(b);
-            _gc_orient(b->inst->gcc);
+            if (b->inst)
+               _gc_orient(b->inst->gcc);
          }
        break;
       case E_APP_ORDER:
@@ -724,7 +725,8 @@
             _ibar_empty(b);
             _ibar_fill(b);
             _ibar_resize_handle(b);
-             _gc_orient(b->inst->gcc);
+            if (b->inst)
+                _gc_orient(b->inst->gcc);
          }
        break;
       case E_APP_EXEC:



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