Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/efreet

Dir     : e17/libs/efreet/src/bin


Modified Files:
        ef_cache.c 


Log Message:
Find desktop by wm_class

===================================================================
RCS file: /cvs/e/e17/libs/efreet/src/bin/ef_cache.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ef_cache.c  25 Mar 2007 13:43:52 -0000      1.2
+++ ef_cache.c  25 Mar 2007 16:17:19 -0000      1.3
@@ -13,6 +13,9 @@
     start = ecore_time_get();
     desktop = efreet_util_desktop_generic_name_find("Mail/News");
     printf("Mail/News: %p %.3f\n", desktop, (ecore_time_get() - start));
+    start = ecore_time_get();
+    desktop = efreet_util_desktop_wm_class_find("Mozilla-firefox-bin", NULL);
+    printf("Mozilla-firefox-bin: %p %.3f\n", desktop, (ecore_time_get() - 
start));
 
     return 0;
 }
@@ -21,7 +24,7 @@
 main(int argc, char **argv)
 {
     if (!efreet_init()) return 1;
-    ecore_timer_add(1.0, timer, NULL);
+    ecore_timer_add(2.0, timer, NULL);
     ecore_main_loop_begin();
     efreet_shutdown();
     return 0;



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